Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DDeclSpec.h1104 unsigned TypeQuals : 4; member
1133 unsigned TypeQuals : 4; member
1201 unsigned TypeQuals : 3; member
1386 unsigned TypeQuals : 4; member
1394 unsigned TypeQuals : 4; member
1445 static DeclaratorChunk getPointer(unsigned TypeQuals, SourceLocation Loc, in getPointer()
1453 I.Ptr.TypeQuals = TypeQuals; in getPointer()
1463 static DeclaratorChunk getReference(unsigned TypeQuals, SourceLocation Loc, in getReference()
1468 I.Ref.HasRestrict = (TypeQuals & DeclSpec::TQ_restrict) != 0; in getReference()
1475 static DeclaratorChunk getArray(unsigned TypeQuals, in getArray()
[all …]
/external/clang/lib/Sema/
DSemaType.cpp717 unsigned &TypeQuals, in diagnoseAndRemoveTypeQualifiers() argument
731 if (TypeQuals & Qual.first) in diagnoseAndRemoveTypeQualifiers()
737 TypeQuals &= ~Qual.first; in diagnoseAndRemoveTypeQualifiers()
1570 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ConvertDeclSpecToType() local
1579 if (TypeQuals && Result->isFunctionType()) { in ConvertDeclSpecToType()
1581 S, DS, TypeQuals, Result, DeclSpec::TQ_const | DeclSpec::TQ_volatile, in ConvertDeclSpecToType()
1597 if (TypeQuals && Result->isReferenceType()) { in ConvertDeclSpecToType()
1599 S, DS, TypeQuals, Result, in ConvertDeclSpecToType()
1608 && TypeQuals & Result.getCVRQualifiers()) { in ConvertDeclSpecToType()
1609 if (TypeQuals & DeclSpec::TQ_const && Result.isConstQualified()) { in ConvertDeclSpecToType()
[all …]
DDeclSpec.cpp159 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()
DSemaLambda.cpp836 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition()
862 FTI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition()
1162 InvokerExtInfo.TypeQuals = 0; in addFunctionPointerConversion()
1176 ConvExtInfo.TypeQuals = Qualifiers::Const; in addFunctionPointerConversion()
1336 BlockEPI.TypeQuals = 0; in addBlockPointerConversion()
1344 ConversionEPI.TypeQuals = Qualifiers::Const; in addBlockPointerConversion()
DSemaDeclCXX.cpp6668 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator() local
6670 diag::err_constructor_return_type, TypeQuals, SourceLocation(), in CheckConstructorDeclarator()
6678 if (FTI.TypeQuals != 0) { in CheckConstructorDeclarator()
6679 if (FTI.TypeQuals & Qualifiers::Const) in CheckConstructorDeclarator()
6682 if (FTI.TypeQuals & Qualifiers::Volatile) in CheckConstructorDeclarator()
6685 if (FTI.TypeQuals & Qualifiers::Restrict) in CheckConstructorDeclarator()
6708 EPI.TypeQuals = 0; in CheckConstructorDeclarator()
6837 else if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckDestructorDeclarator() local
6838 diagnoseIgnoredQualifiers(diag::err_destructor_return_type, TypeQuals, in CheckDestructorDeclarator()
6849 if (FTI.TypeQuals != 0 && !D.isInvalidType()) { in CheckDestructorDeclarator()
[all …]
DSemaTemplateDeduction.cpp3760 EPI.TypeQuals = 0; in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
DSemaDecl.cpp3740 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec() local
3743 if (TypeQuals & DeclSpec::TQ_restrict) in ParsedFreeStandingDeclSpec()
8417 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionDeclaration()
DSemaTemplate.cpp6855 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionTemplateSpecialization()
DSemaExpr.cpp11443 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnBlockArguments()
11618 EPI.TypeQuals = 0; // FIXME: silently? in ActOnBlockStmtExpr()
/external/clang/include/clang/AST/
DDeclCXX.h2271 bool isCopyConstructor(unsigned &TypeQuals) const;
2277 unsigned TypeQuals = 0; in isCopyConstructor() local
2278 return isCopyConstructor(TypeQuals); in isCopyConstructor()
2286 bool isMoveConstructor(unsigned &TypeQuals) const;
2291 unsigned TypeQuals = 0; in isMoveConstructor() local
2292 return isMoveConstructor(TypeQuals); in isMoveConstructor()
2299 bool isCopyOrMoveConstructor(unsigned &TypeQuals) const;
DType.h1356 unsigned TypeQuals : 3;
2515 unsigned TypeQuals) {
2519 ID.AddInteger(TypeQuals);
2552 ArraySizeModifier SizeMod, unsigned TypeQuals) {
2555 ID.AddInteger(TypeQuals);
2672 unsigned TypeQuals, Expr *E);
2973 unsigned getTypeQuals() const { return FunctionTypeBits.TypeQuals; }
3068 : Variadic(false), HasTrailingReturn(false), TypeQuals(0),
3072 : ExtInfo(CC), Variadic(false), HasTrailingReturn(false), TypeQuals(0),
3084 unsigned char TypeQuals;
[all …]
/external/clang/lib/AST/
DDeclCXX.cpp1780 CXXConstructorDecl::isCopyConstructor(unsigned &TypeQuals) const { in isCopyConstructor()
1781 return isCopyOrMoveConstructor(TypeQuals) && in isCopyConstructor()
1785 bool CXXConstructorDecl::isMoveConstructor(unsigned &TypeQuals) const { in isMoveConstructor()
1786 return isCopyOrMoveConstructor(TypeQuals) && in isMoveConstructor()
1791 bool CXXConstructorDecl::isCopyOrMoveConstructor(unsigned &TypeQuals) const { in isCopyOrMoveConstructor()
1828 TypeQuals = PointeeType.getCVRQualifiers(); in isCopyOrMoveConstructor()
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()
DType.cpp140 unsigned TypeQuals, in Profile() argument
144 ID.AddInteger(TypeQuals); in Profile()
2678 FunctionTypeBits.TypeQuals = epi.TypeQuals; in FunctionProtoType()
2845 !(unsigned(epi.TypeQuals) & ~255) && in Profile()
2850 (epi.TypeQuals << 1) + in Profile()
DASTImporter.cpp1668 ToEPI.TypeQuals = FromEPI.TypeQuals; in VisitFunctionProtoType()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2166 if (!(Function.TypeQuals & TypeQual)) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2170 Function.TypeQuals |= TypeQual; in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
/external/lldb/source/Symbol/
DClangASTContext.cpp1971 proto_info.TypeQuals = type_quals; in CreateFunctionType()
/external/clang/lib/Serialization/
DASTReader.cpp5360 EPI.TypeQuals = Record[Idx++]; in readTypeRecord()