Home
last modified time | relevance | path

Searched refs:TypeQuals (Results 1 – 17 of 17) sorted by relevance

/external/clang/include/clang/Sema/
DDeclSpec.h1062 unsigned TypeQuals : 4; member
1091 unsigned TypeQuals : 4; member
1159 unsigned TypeQuals : 3; member
1317 unsigned TypeQuals : 4; member
1325 unsigned TypeQuals : 4; member
1376 static DeclaratorChunk getPointer(unsigned TypeQuals, SourceLocation Loc, in getPointer()
1383 I.Ptr.TypeQuals = TypeQuals; in getPointer()
1392 static DeclaratorChunk getReference(unsigned TypeQuals, SourceLocation Loc, in getReference()
1397 I.Ref.HasRestrict = (TypeQuals & DeclSpec::TQ_restrict) != 0; in getReference()
1404 static DeclaratorChunk getArray(unsigned TypeQuals, in getArray()
[all …]
/external/clang/lib/Sema/
DSemaType.cpp1100 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ConvertDeclSpecToType() local
1105 if (Result->isFunctionType() && TypeQuals) { in ConvertDeclSpecToType()
1106 if (TypeQuals & DeclSpec::TQ_const) in ConvertDeclSpecToType()
1109 else if (TypeQuals & DeclSpec::TQ_volatile) in ConvertDeclSpecToType()
1113 assert((TypeQuals & (DeclSpec::TQ_restrict | DeclSpec::TQ_atomic)) && in ConvertDeclSpecToType()
1129 TypeQuals && Result->isReferenceType()) { in ConvertDeclSpecToType()
1140 if (TypeQuals & Quals[I].first) in ConvertDeclSpecToType()
1145 TypeQuals &= ~Quals[I].first; in ConvertDeclSpecToType()
1153 && TypeQuals & Result.getCVRQualifiers()) { in ConvertDeclSpecToType()
1154 if (TypeQuals & DeclSpec::TQ_const && Result.isConstQualified()) { in ConvertDeclSpecToType()
[all …]
DSemaLambda.cpp868 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition()
894 FTI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition()
1174 InvokerExtInfo.TypeQuals = 0; in addFunctionPointerConversion()
1188 ConvExtInfo.TypeQuals = Qualifiers::Const; in addFunctionPointerConversion()
1343 ExtInfo.TypeQuals = 0; in addBlockPointerConversion()
1351 ExtInfo.TypeQuals = Qualifiers::Const; in addBlockPointerConversion()
DDeclSpec.cpp156 unsigned TypeQuals, in getFunction() argument
174 assert(!(TypeQuals & DeclSpec::TQ_atomic) && in getFunction()
189 I.Fun.TypeQuals = TypeQuals; in getFunction()
DSemaDeclCXX.cpp6282 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator() local
6284 diag::err_constructor_return_type, TypeQuals, SourceLocation(), in CheckConstructorDeclarator()
6292 if (FTI.TypeQuals != 0) { in CheckConstructorDeclarator()
6293 if (FTI.TypeQuals & Qualifiers::Const) in CheckConstructorDeclarator()
6296 if (FTI.TypeQuals & Qualifiers::Volatile) in CheckConstructorDeclarator()
6299 if (FTI.TypeQuals & Qualifiers::Restrict) in CheckConstructorDeclarator()
6322 EPI.TypeQuals = 0; in CheckConstructorDeclarator()
6451 else if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckDestructorDeclarator() local
6452 diagnoseIgnoredQualifiers(diag::err_destructor_return_type, TypeQuals, in CheckDestructorDeclarator()
6463 if (FTI.TypeQuals != 0 && !D.isInvalidType()) { in CheckDestructorDeclarator()
[all …]
DSemaDecl.cpp3343 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec() local
3346 if (TypeQuals & DeclSpec::TQ_restrict) in ParsedFreeStandingDeclSpec()
7745 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionDeclaration()
DSemaTemplateDeduction.cpp3734 EPI.TypeQuals = 0; in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
DSemaExpr.cpp10462 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnBlockArguments()
10639 EPI.TypeQuals = 0; // FIXME: silently? in ActOnBlockStmtExpr()
DSemaTemplate.cpp6651 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionTemplateSpecialization()
/external/clang/include/clang/AST/
DDeclCXX.h2256 bool isCopyConstructor(unsigned &TypeQuals) const;
2262 unsigned TypeQuals = 0; in isCopyConstructor() local
2263 return isCopyConstructor(TypeQuals); in isCopyConstructor()
2271 bool isMoveConstructor(unsigned &TypeQuals) const;
2276 unsigned TypeQuals = 0; in isMoveConstructor() local
2277 return isMoveConstructor(TypeQuals); in isMoveConstructor()
2284 bool isCopyOrMoveConstructor(unsigned &TypeQuals) const;
DType.h1261 unsigned TypeQuals : 3;
2321 unsigned TypeQuals) {
2325 ID.AddInteger(TypeQuals);
2358 ArraySizeModifier SizeMod, unsigned TypeQuals) {
2361 ID.AddInteger(TypeQuals);
2478 unsigned TypeQuals, Expr *E);
2776 FunctionTypeBits.TypeQuals = typeQuals;
2778 unsigned getTypeQuals() const { return FunctionTypeBits.TypeQuals; }
2850 : Variadic(false), HasTrailingReturn(false), TypeQuals(0),
2857 : ExtInfo(CC), Variadic(false), HasTrailingReturn(false), TypeQuals(0),
[all …]
/external/clang/lib/AST/
DDeclCXX.cpp1729 CXXConstructorDecl::isCopyConstructor(unsigned &TypeQuals) const { in isCopyConstructor()
1730 return isCopyOrMoveConstructor(TypeQuals) && in isCopyConstructor()
1734 bool CXXConstructorDecl::isMoveConstructor(unsigned &TypeQuals) const { in isMoveConstructor()
1735 return isCopyOrMoveConstructor(TypeQuals) && in isMoveConstructor()
1740 bool CXXConstructorDecl::isCopyOrMoveConstructor(unsigned &TypeQuals) const { in isCopyOrMoveConstructor()
1777 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
DTypePrinter.cpp113 static void AppendTypeQualList(raw_ostream &OS, unsigned TypeQuals) { in AppendTypeQualList() argument
115 if (TypeQuals & Qualifiers::Const) { in AppendTypeQualList()
119 if (TypeQuals & Qualifiers::Volatile) { in AppendTypeQualList()
124 if (TypeQuals & Qualifiers::Restrict) { in AppendTypeQualList()
DType.cpp139 unsigned TypeQuals, in Profile() argument
143 ID.AddInteger(TypeQuals); in Profile()
1594 : FunctionType(FunctionProto, result, epi.TypeQuals, canonical, in FunctionProtoType()
1756 !(unsigned(epi.TypeQuals) & ~255) && in Profile()
1761 (epi.TypeQuals << 1) + in Profile()
DASTImporter.cpp1623 ToEPI.TypeQuals = FromEPI.TypeQuals; in VisitFunctionProtoType()
/external/lldb/source/Symbol/
DClangASTContext.cpp1971 proto_info.TypeQuals = type_quals; in CreateFunctionType()
/external/clang/lib/Serialization/
DASTReader.cpp5239 EPI.TypeQuals = Record[Idx++]; in readTypeRecord()