/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 1123 unsigned TypeQuals : 5; member 1156 unsigned TypeQuals : 5; member 1224 unsigned TypeQuals : 4; member 1409 unsigned TypeQuals : 5; member 1417 unsigned TypeQuals : 5; member 1477 static DeclaratorChunk getPointer(unsigned TypeQuals, SourceLocation Loc, in getPointer() 1486 I.Ptr.TypeQuals = TypeQuals; in getPointer() 1497 static DeclaratorChunk getReference(unsigned TypeQuals, SourceLocation Loc, in getReference() 1502 I.Ref.HasRestrict = (TypeQuals & DeclSpec::TQ_restrict) != 0; in getReference() 1509 static DeclaratorChunk getArray(unsigned TypeQuals, in getArray() [all …]
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 729 unsigned &TypeQuals, in diagnoseAndRemoveTypeQualifiers() argument 744 if (TypeQuals & Qual.first) in diagnoseAndRemoveTypeQualifiers() 750 TypeQuals &= ~Qual.first; in diagnoseAndRemoveTypeQualifiers() 787 unsigned TypeQuals = DS.getTypeQualifiers(); in checkOmittedBlockReturnType() local 788 diagnoseAndRemoveTypeQualifiers(S, DS, TypeQuals, Result, (unsigned)-1, in checkOmittedBlockReturnType() 1673 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ConvertDeclSpecToType() local 1682 if (TypeQuals && Result->isFunctionType()) { in ConvertDeclSpecToType() 1684 S, DS, TypeQuals, Result, DeclSpec::TQ_const | DeclSpec::TQ_volatile, in ConvertDeclSpecToType() 1700 if (TypeQuals && Result->isReferenceType()) { in ConvertDeclSpecToType() 1702 S, DS, TypeQuals, Result, in ConvertDeclSpecToType() [all …]
|
D | DeclSpec.cpp | 159 unsigned TypeQuals, in getFunction() argument 180 assert(!(TypeQuals & DeclSpec::TQ_atomic) && in getFunction() 195 I.Fun.TypeQuals = TypeQuals; in getFunction() 214 assert(I.Fun.TypeQuals == TypeQuals && "bitfield overflow"); in getFunction()
|
D | SemaLambda.cpp | 833 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition() 859 FTI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition() 1169 InvokerExtInfo.TypeQuals = 0; in addFunctionPointerConversion() 1183 ConvExtInfo.TypeQuals = Qualifiers::Const; in addFunctionPointerConversion() 1343 BlockEPI.TypeQuals = 0; in addBlockPointerConversion() 1351 ConversionEPI.TypeQuals = Qualifiers::Const; in addBlockPointerConversion()
|
D | SemaDeclCXX.cpp | 6831 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator() local 6833 diag::err_constructor_return_type, TypeQuals, SourceLocation(), in CheckConstructorDeclarator() 6841 if (FTI.TypeQuals != 0) { in CheckConstructorDeclarator() 6842 if (FTI.TypeQuals & Qualifiers::Const) in CheckConstructorDeclarator() 6845 if (FTI.TypeQuals & Qualifiers::Volatile) in CheckConstructorDeclarator() 6848 if (FTI.TypeQuals & Qualifiers::Restrict) in CheckConstructorDeclarator() 6871 EPI.TypeQuals = 0; in CheckConstructorDeclarator() 7000 else if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckDestructorDeclarator() local 7001 diagnoseIgnoredQualifiers(diag::err_destructor_return_type, TypeQuals, in CheckDestructorDeclarator() 7012 if (FTI.TypeQuals != 0 && !D.isInvalidType()) { in CheckDestructorDeclarator() [all …]
|
D | SemaTemplateDeduction.cpp | 3752 EPI.TypeQuals = 0; in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
|
D | SemaDecl.cpp | 3856 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec() local 3859 if (TypeQuals & DeclSpec::TQ_restrict) in ParsedFreeStandingDeclSpec() 8743 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionDeclaration()
|
D | SemaTemplate.cpp | 6894 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionTemplateSpecialization()
|
D | SemaExpr.cpp | 11975 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnBlockArguments() 12150 EPI.TypeQuals = 0; // FIXME: silently? in ActOnBlockStmtExpr()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 2332 bool isCopyConstructor(unsigned &TypeQuals) const; 2338 unsigned TypeQuals = 0; in isCopyConstructor() local 2339 return isCopyConstructor(TypeQuals); in isCopyConstructor() 2347 bool isMoveConstructor(unsigned &TypeQuals) const; 2352 unsigned TypeQuals = 0; in isMoveConstructor() local 2353 return isMoveConstructor(TypeQuals); in isMoveConstructor() 2360 bool isCopyOrMoveConstructor(unsigned &TypeQuals) const;
|
D | Type.h | 1388 unsigned TypeQuals : 4; 2548 unsigned TypeQuals) { 2552 ID.AddInteger(TypeQuals); 2585 ArraySizeModifier SizeMod, unsigned TypeQuals) { 2588 ID.AddInteger(TypeQuals); 2705 unsigned TypeQuals, Expr *E); 3009 unsigned getTypeQuals() const { return FunctionTypeBits.TypeQuals; } 3172 : Variadic(false), HasTrailingReturn(false), TypeQuals(0), 3176 : ExtInfo(CC), Variadic(false), HasTrailingReturn(false), TypeQuals(0), 3188 unsigned char TypeQuals; [all …]
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1861 CXXConstructorDecl::isCopyConstructor(unsigned &TypeQuals) const { in isCopyConstructor() 1862 return isCopyOrMoveConstructor(TypeQuals) && in isCopyConstructor() 1866 bool CXXConstructorDecl::isMoveConstructor(unsigned &TypeQuals) const { in isMoveConstructor() 1867 return isCopyOrMoveConstructor(TypeQuals) && in isMoveConstructor() 1872 bool CXXConstructorDecl::isCopyOrMoveConstructor(unsigned &TypeQuals) const { in isCopyOrMoveConstructor() 1909 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
|
D | TypePrinter.cpp | 115 static void AppendTypeQualList(raw_ostream &OS, unsigned TypeQuals, in AppendTypeQualList() argument 118 if (TypeQuals & Qualifiers::Const) { in AppendTypeQualList() 122 if (TypeQuals & Qualifiers::Volatile) { in AppendTypeQualList() 127 if (TypeQuals & Qualifiers::Restrict) { in AppendTypeQualList()
|
D | Type.cpp | 140 unsigned TypeQuals, in Profile() argument 144 ID.AddInteger(TypeQuals); in Profile() 2669 FunctionTypeBits.TypeQuals = epi.TypeQuals; in FunctionProtoType() 2837 !(unsigned(epi.TypeQuals) & ~255) && in Profile() 2842 (epi.TypeQuals << 1) + in Profile()
|
D | ASTImporter.cpp | 1751 ToEPI.TypeQuals = FromEPI.TypeQuals; in VisitFunctionProtoType()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 2181 if (!(Function.TypeQuals & TypeQual)) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq() 2185 Function.TypeQuals |= TypeQual; in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 5382 EPI.TypeQuals = Record[Idx++]; in readTypeRecord()
|