Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DDeclSpec.h1085 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/
DSemaType.cpp1119 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 …]
DDeclSpec.cpp169 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()
DSemaLambda.cpp873 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()
DSemaDeclCXX.cpp6634 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 …]
DSemaTemplateDeduction.cpp3692 EPI.TypeQuals = 0; in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
DSemaDecl.cpp3563 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec() local
3566 if (TypeQuals & DeclSpec::TQ_restrict) in ParsedFreeStandingDeclSpec()
8018 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionDeclaration()
DSemaTemplate.cpp6772 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionTemplateSpecialization()
DSemaExpr.cpp11148 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnBlockArguments()
11325 EPI.TypeQuals = 0; // FIXME: silently? in ActOnBlockStmtExpr()
/external/clang/include/clang/AST/
DDeclCXX.h2277 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;
DType.h1278 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/
DDeclCXX.cpp1764 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()
DType.cpp139 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()
DTypePrinter.cpp113 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()
DASTImporter.cpp1625 ToEPI.TypeQuals = FromEPI.TypeQuals; in VisitFunctionProtoType()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2120 if (!(Function.TypeQuals & TypeQual)) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2124 Function.TypeQuals |= TypeQual; in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
/external/lldb/source/Symbol/
DClangASTContext.cpp1971 proto_info.TypeQuals = type_quals; in CreateFunctionType()
/external/clang/lib/Serialization/
DASTReader.cpp5414 EPI.TypeQuals = Record[Idx++]; in readTypeRecord()