/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 1085 unsigned TypeQuals : 4; member 1114 unsigned TypeQuals : 4; member 1182 unsigned TypeQuals : 3; member 1356 unsigned TypeQuals : 4; member 1364 unsigned TypeQuals : 4; member 1415 static DeclaratorChunk getPointer(unsigned TypeQuals, SourceLocation Loc, in getPointer() 1423 I.Ptr.TypeQuals = TypeQuals; in getPointer() 1433 static DeclaratorChunk getReference(unsigned TypeQuals, SourceLocation Loc, in getReference() 1438 I.Ref.HasRestrict = (TypeQuals & DeclSpec::TQ_restrict) != 0; in getReference() 1445 static DeclaratorChunk getArray(unsigned TypeQuals, in getArray() [all …]
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 1119 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ConvertDeclSpecToType() local 1124 if (Result->isFunctionType() && TypeQuals) { in ConvertDeclSpecToType() 1125 if (TypeQuals & DeclSpec::TQ_const) in ConvertDeclSpecToType() 1128 else if (TypeQuals & DeclSpec::TQ_volatile) in ConvertDeclSpecToType() 1133 assert((TypeQuals & (DeclSpec::TQ_restrict | DeclSpec::TQ_atomic)) && in ConvertDeclSpecToType() 1149 TypeQuals && Result->isReferenceType()) { in ConvertDeclSpecToType() 1160 if (TypeQuals & Quals[I].first) in ConvertDeclSpecToType() 1165 TypeQuals &= ~Quals[I].first; in ConvertDeclSpecToType() 1173 && TypeQuals & Result.getCVRQualifiers()) { in ConvertDeclSpecToType() 1174 if (TypeQuals & DeclSpec::TQ_const && Result.isConstQualified()) { in ConvertDeclSpecToType() [all …]
|
D | DeclSpec.cpp | 169 unsigned TypeQuals, in getFunction() argument 190 assert(!(TypeQuals & DeclSpec::TQ_atomic) && in getFunction() 205 I.Fun.TypeQuals = TypeQuals; in getFunction() 223 assert(I.Fun.TypeQuals == TypeQuals && "bitfield overflow"); in getFunction()
|
D | SemaLambda.cpp | 873 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition() 899 FTI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition() 1179 InvokerExtInfo.TypeQuals = 0; in addFunctionPointerConversion() 1193 ConvExtInfo.TypeQuals = Qualifiers::Const; in addFunctionPointerConversion() 1353 BlockEPI.TypeQuals = 0; in addBlockPointerConversion() 1361 ConversionEPI.TypeQuals = Qualifiers::Const; in addBlockPointerConversion()
|
D | SemaDeclCXX.cpp | 6634 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator() local 6636 diag::err_constructor_return_type, TypeQuals, SourceLocation(), in CheckConstructorDeclarator() 6644 if (FTI.TypeQuals != 0) { in CheckConstructorDeclarator() 6645 if (FTI.TypeQuals & Qualifiers::Const) in CheckConstructorDeclarator() 6648 if (FTI.TypeQuals & Qualifiers::Volatile) in CheckConstructorDeclarator() 6651 if (FTI.TypeQuals & Qualifiers::Restrict) in CheckConstructorDeclarator() 6674 EPI.TypeQuals = 0; in CheckConstructorDeclarator() 6803 else if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckDestructorDeclarator() local 6804 diagnoseIgnoredQualifiers(diag::err_destructor_return_type, TypeQuals, in CheckDestructorDeclarator() 6815 if (FTI.TypeQuals != 0 && !D.isInvalidType()) { in CheckDestructorDeclarator() [all …]
|
D | SemaTemplateDeduction.cpp | 3692 EPI.TypeQuals = 0; in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
|
D | SemaDecl.cpp | 3563 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec() local 3566 if (TypeQuals & DeclSpec::TQ_restrict) in ParsedFreeStandingDeclSpec() 8018 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionDeclaration()
|
D | SemaTemplate.cpp | 6772 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionTemplateSpecialization()
|
D | SemaExpr.cpp | 11148 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnBlockArguments() 11325 EPI.TypeQuals = 0; // FIXME: silently? in ActOnBlockStmtExpr()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 2277 bool isCopyConstructor(unsigned &TypeQuals) const; 2283 unsigned TypeQuals = 0; in isCopyConstructor() local 2284 return isCopyConstructor(TypeQuals); in isCopyConstructor() 2292 bool isMoveConstructor(unsigned &TypeQuals) const; 2297 unsigned TypeQuals = 0; in isMoveConstructor() local 2298 return isMoveConstructor(TypeQuals); in isMoveConstructor() 2305 bool isCopyOrMoveConstructor(unsigned &TypeQuals) const;
|
D | Type.h | 1278 unsigned TypeQuals : 3; 2365 unsigned TypeQuals) { 2369 ID.AddInteger(TypeQuals); 2402 ArraySizeModifier SizeMod, unsigned TypeQuals) { 2405 ID.AddInteger(TypeQuals); 2522 unsigned TypeQuals, Expr *E); 2821 unsigned getTypeQuals() const { return FunctionTypeBits.TypeQuals; } 2916 : Variadic(false), HasTrailingReturn(false), TypeQuals(0), 2920 : ExtInfo(CC), Variadic(false), HasTrailingReturn(false), TypeQuals(0), 2932 unsigned char TypeQuals; [all …]
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1764 CXXConstructorDecl::isCopyConstructor(unsigned &TypeQuals) const { in isCopyConstructor() 1765 return isCopyOrMoveConstructor(TypeQuals) && in isCopyConstructor() 1769 bool CXXConstructorDecl::isMoveConstructor(unsigned &TypeQuals) const { in isMoveConstructor() 1770 return isCopyOrMoveConstructor(TypeQuals) && in isMoveConstructor() 1775 bool CXXConstructorDecl::isCopyOrMoveConstructor(unsigned &TypeQuals) const { in isCopyOrMoveConstructor() 1812 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
|
D | Type.cpp | 139 unsigned TypeQuals, in Profile() argument 143 ID.AddInteger(TypeQuals); in Profile() 1605 FunctionTypeBits.TypeQuals = epi.TypeQuals; in FunctionProtoType() 1772 !(unsigned(epi.TypeQuals) & ~255) && in Profile() 1777 (epi.TypeQuals << 1) + in Profile()
|
D | TypePrinter.cpp | 113 static void AppendTypeQualList(raw_ostream &OS, unsigned TypeQuals, bool C99) { in AppendTypeQualList() argument 115 if (TypeQuals & Qualifiers::Const) { in AppendTypeQualList() 119 if (TypeQuals & Qualifiers::Volatile) { in AppendTypeQualList() 124 if (TypeQuals & Qualifiers::Restrict) { in AppendTypeQualList()
|
D | ASTImporter.cpp | 1625 ToEPI.TypeQuals = FromEPI.TypeQuals; in VisitFunctionProtoType()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 2120 if (!(Function.TypeQuals & TypeQual)) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq() 2124 Function.TypeQuals |= TypeQual; in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
|
/external/lldb/source/Symbol/ |
D | ClangASTContext.cpp | 1971 proto_info.TypeQuals = type_quals; in CreateFunctionType()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 5414 EPI.TypeQuals = Record[Idx++]; in readTypeRecord()
|