/external/clang/lib/CodeGen/ |
D | CGValue.h | 177 Qualifiers Quals; variable 220 void Initialize(QualType Type, Qualifiers Quals, 226 this->Quals = Quals; 252 bool isVolatileQualified() const { return Quals.hasVolatile(); } in isVolatileQualified() 253 bool isRestrictQualified() const { return Quals.hasRestrict(); } in isRestrictQualified() 255 return Quals.getCVRQualifiers() & ~Qualifiers::Const; in getVRQualifiers() 261 return Quals.getObjCLifetime(); in getObjCLifetime() 289 return Quals.getObjCGCAttr() == Qualifiers::Weak; in isObjCWeak() 292 return Quals.getObjCGCAttr() == Qualifiers::Strong; in isObjCStrong() 296 return Quals.hasVolatile(); in isVolatile() [all …]
|
D | ItaniumCXXABI.cpp | 2593 Qualifiers Quals = PointeeTy.getQualifiers(); in TypeInfoIsInStandardLibrary() local 2594 Quals.removeConst(); in TypeInfoIsInStandardLibrary() 2596 if (!Quals.empty()) in TypeInfoIsInStandardLibrary() 3086 static unsigned ComputeQualifierFlags(Qualifiers Quals) { in ComputeQualifierFlags() argument 3089 if (Quals.hasConst()) in ComputeQualifierFlags() 3091 if (Quals.hasVolatile()) in ComputeQualifierFlags() 3093 if (Quals.hasRestrict()) in ComputeQualifierFlags() 3275 Qualifiers Quals; in BuildPointerTypeInfo() local 3277 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals); in BuildPointerTypeInfo() 3282 unsigned Flags = ComputeQualifierFlags(Quals); in BuildPointerTypeInfo() [all …]
|
D | CGDebugInfo.cpp | 2259 Qualifiers Quals; in UnwrapTypeForDebugInfo() local 2264 Quals += Qualifiers::removeCommonQualifiers(Quals, InnerQuals); in UnwrapTypeForDebugInfo() 2265 Quals += InnerQuals; in UnwrapTypeForDebugInfo() 2269 return C.getQualifiedType(T.getTypePtr(), Quals); in UnwrapTypeForDebugInfo() 2273 return C.getQualifiedType(T.getTypePtr(), Quals); in UnwrapTypeForDebugInfo()
|
/external/clang/lib/AST/ |
D | MicrosoftMangle.cpp | 322 void mangleQualifiers(Qualifiers Quals, bool IsMember); 324 void manglePointerCVQualifiers(Qualifiers Quals); 325 void manglePointerExtQualifiers(Qualifiers Quals, QualType PointeeType); 340 Qualifiers Quals, \ 1341 void MicrosoftCXXNameMangler::mangleQualifiers(Qualifiers Quals, in mangleQualifiers() argument 1395 bool HasConst = Quals.hasConst(), in mangleQualifiers() 1396 HasVolatile = Quals.hasVolatile(); in mangleQualifiers() 1441 void MicrosoftCXXNameMangler::manglePointerExtQualifiers(Qualifiers Quals, in manglePointerExtQualifiers() argument 1443 bool HasRestrict = Quals.hasRestrict(); in manglePointerExtQualifiers() 1451 if (Quals.hasUnaligned() || in manglePointerExtQualifiers() [all …]
|
D | TypePrinter.cpp | 144 print(split.Ty, split.Quals, OS, PlaceHolder); in print() 147 void TypePrinter::print(const Type *T, Qualifiers Quals, raw_ostream &OS, in print() argument 156 printBefore(T, Quals, OS); in print() 158 printAfter(T, Quals, OS); in print() 243 Qualifiers Quals = Split.Quals; in printBefore() local 246 Quals -= QualType(Subst, 0).getQualifiers(); in printBefore() 248 printBefore(Split.Ty, Quals, OS); in printBefore() 253 void TypePrinter::printBefore(const Type *T,Qualifiers Quals, raw_ostream &OS) { in printBefore() argument 265 if (CanPrefixQualifiers && !Quals.empty()) { in printBefore() 268 Quals.print(OS, Policy, /*appendSpaceIfNonEmpty=*/true); in printBefore() [all …]
|
D | DeclPrinter.cpp | 44 void PrintObjCMethodType(ASTContext &Ctx, Decl::ObjCDeclQualifier Quals, 999 Decl::ObjCDeclQualifier Quals, in PrintObjCMethodType() argument 1002 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_In) in PrintObjCMethodType() 1004 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_Inout) in PrintObjCMethodType() 1006 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_Out) in PrintObjCMethodType() 1008 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_Bycopy) in PrintObjCMethodType() 1010 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_Byref) in PrintObjCMethodType() 1012 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_Oneway) in PrintObjCMethodType() 1014 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_CSNullability) { in PrintObjCMethodType()
|
D | Type.cpp | 214 return Context.getQualifiedType(split.Ty, split.Quals); in getDesugaredType() 221 return Context.getQualifiedType(desugar, split.Quals); in getSingleStepDesugaredTypeImpl() 263 Qualifiers quals = split.Quals; in getSplitUnqualifiedTypeImpl() 288 if (!split.Quals.empty()) { in getSplitUnqualifiedTypeImpl() 290 quals.addConsistentQualifiers(split.Quals); in getSplitUnqualifiedTypeImpl() 638 splitBaseType.Quals), in stripObjCKindOfTypeAndQuals() 1058 return ctx.getQualifiedType(result, splitType.Quals); in simpleTransform() 1081 return ctx.getQualifiedType(argType, splitType.Quals); in substObjCTypeArgs() 1090 splitType.Quals); in substObjCTypeArgs() 1102 splitType.Quals); in substObjCTypeArgs() [all …]
|
D | ItaniumMangle.cpp | 513 void mangleQualifiers(Qualifiers Quals); 2079 void CXXNameMangler::mangleQualifiers(Qualifiers Quals) { in mangleQualifiers() argument 2083 if (Quals.hasAddressSpace()) { in mangleQualifiers() 2091 unsigned AS = Quals.getAddressSpace(); in mangleQualifiers() 2114 switch (Quals.getObjCLifetime()) { in mangleQualifiers() 2147 if (Quals.hasRestrict()) in mangleQualifiers() 2149 if (Quals.hasVolatile()) in mangleQualifiers() 2151 if (Quals.hasConst()) in mangleQualifiers() 2180 static bool isTypeSubstitutable(Qualifiers Quals, const Type *Ty) { in isTypeSubstitutable() argument 2181 if (Quals) in isTypeSubstitutable() [all …]
|
D | ASTContext.cpp | 2165 canonSplit.Quals.addConsistentQualifiers(quals); in getExtQualType() 2166 canon = getExtQualType(canonSplit.Ty, canonSplit.Quals); in getExtQualType() 2185 QualifierCollector Quals; in getAddrSpaceQualType() local 2186 const Type *TypeNode = Quals.strip(T); in getAddrSpaceQualType() 2190 assert(!Quals.hasAddressSpace() && in getAddrSpaceQualType() 2192 Quals.addAddressSpace(AddressSpace); in getAddrSpaceQualType() 2194 return getExtQualType(TypeNode, Quals); in getAddrSpaceQualType() 2213 QualifierCollector Quals; in getObjCGCQualType() local 2214 const Type *TypeNode = Quals.strip(T); in getObjCGCQualType() 2218 assert(!Quals.hasObjCGCAttr() && in getObjCGCQualType() [all …]
|
D | ExprCXX.cpp | 45 Qualifiers Quals; in getTypeOperand() local 47 Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals); in getTypeOperand() 52 Qualifiers Quals; in getTypeOperand() local 54 Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals); in getTypeOperand()
|
D | DeclCXX.cpp | 527 unsigned Quals; in addedMember() local 528 if (Constructor->isCopyConstructor(Quals)) { in addedMember() 531 if (Quals & Qualifiers::Const) in addedMember()
|
D | ASTDumper.cpp | 656 if (!SQT.Quals.hasQualifiers()) in dumpTypeAsChild() 664 OS << " " << T.split().Quals.getAsString(); in dumpTypeAsChild()
|
/external/clang/lib/Tooling/Core/ |
D | QualTypeNames.cpp | 390 Qualifiers Quals = QT.getQualifiers(); in getFullyQualifiedType() local 394 QT = Ctx.getQualifiedType(QT, Quals); in getFullyQualifiedType() 403 Qualifiers Quals = QT.getQualifiers(); in getFullyQualifiedType() local 412 QT = Ctx.getQualifiedType(QT, Quals); in getFullyQualifiedType() 422 Qualifiers Quals = QT.getQualifiers(); in getFullyQualifiedType() local 427 QT = Ctx.getQualifiedType(QT, Quals); in getFullyQualifiedType()
|
/external/clang/include/clang/AST/ |
D | Type.h | 370 Qualifiers Quals = *this; 371 Quals.setFastQualifiers(0); 372 return Quals; 546 Qualifiers Quals; 548 SplitQualType() : Ty(nullptr), Quals() {} 549 SplitQualType(const Type *ty, Qualifiers qs) : Ty(ty), Quals(qs) {} 555 return std::pair<const Type *, Qualifiers>(Ty, Quals); 559 return a.Ty == b.Ty && a.Quals == b.Quals; 562 return a.Ty != b.Ty || a.Quals != b.Quals; 623 QualType(const Type *Ptr, unsigned Quals) [all …]
|
D | ASTContext.h | 986 QualType getExtQualType(const Type *Base, Qualifiers Quals) const; 1694 return getQualifiedType(split.Ty, split.Quals); in getQualifiedType() 2003 QualType getUnqualifiedArrayType(QualType T, Qualifiers &Quals);
|
D | DeclCXX.h | 2364 unsigned Quals; in isCopyOrMoveConstructor() local 2365 return isCopyOrMoveConstructor(Quals); in isCopyOrMoveConstructor()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 1817 Split.Quals.addCVRQualifiers(CVR); in BuildQualifiedType() 1818 return BuildQualifiedType(T, Loc, Split.Quals); in BuildQualifiedType() 1884 std::string Quals = in getFunctionQualifiersAsString() local 1892 if (!Quals.empty()) in getFunctionQualifiersAsString() 1893 Quals += ' '; in getFunctionQualifiersAsString() 1894 Quals += '&'; in getFunctionQualifiersAsString() 1898 if (!Quals.empty()) in getFunctionQualifiersAsString() 1899 Quals += ' '; in getFunctionQualifiersAsString() 1900 Quals += "&&"; in getFunctionQualifiersAsString() 1904 return Quals; in getFunctionQualifiersAsString() [all …]
|
D | SemaLookup.cpp | 3022 unsigned Quals) { in LookupCopyingConstructor() argument 3023 assert(!(Quals & ~(Qualifiers::Const | Qualifiers::Volatile)) && in LookupCopyingConstructor() 3026 LookupSpecialMember(Class, CXXCopyConstructor, Quals & Qualifiers::Const, in LookupCopyingConstructor() 3027 Quals & Qualifiers::Volatile, false, false, false); in LookupCopyingConstructor() 3034 unsigned Quals) { in LookupMovingConstructor() argument 3036 LookupSpecialMember(Class, CXXMoveConstructor, Quals & Qualifiers::Const, in LookupMovingConstructor() 3037 Quals & Qualifiers::Volatile, false, false, false); in LookupMovingConstructor() 3061 unsigned Quals, bool RValueThis, in LookupCopyingAssignment() argument 3063 assert(!(Quals & ~(Qualifiers::Const | Qualifiers::Volatile)) && in LookupCopyingAssignment() 3068 LookupSpecialMember(Class, CXXCopyAssignment, Quals & Qualifiers::Const, in LookupCopyingAssignment() [all …]
|
D | SemaTemplateDeduction.cpp | 1020 Qualifiers Quals; in DeduceTemplateArgumentsByTypeMatch() local 1021 QualType UnqualParam = S.Context.getUnqualifiedArrayType(Param, Quals); in DeduceTemplateArgumentsByTypeMatch() 1022 Quals.setCVRQualifiers(Quals.getCVRQualifiers() & in DeduceTemplateArgumentsByTypeMatch() 1024 Param = S.Context.getQualifiedType(UnqualParam, Quals); in DeduceTemplateArgumentsByTypeMatch() 1070 Qualifiers Quals; in DeduceTemplateArgumentsByTypeMatch() local 1071 Arg = S.Context.getUnqualifiedArrayType(Arg, Quals); in DeduceTemplateArgumentsByTypeMatch() 1072 if (Quals) { in DeduceTemplateArgumentsByTypeMatch() 1073 Arg = S.Context.getQualifiedType(Arg, Quals); in DeduceTemplateArgumentsByTypeMatch()
|
D | SemaExprCXX.cpp | 381 Qualifiers Quals; in BuildCXXTypeId() local 384 Quals); in BuildCXXTypeId() 440 Qualifiers Quals; in BuildCXXTypeId() local 441 QualType UnqualT = Context.getUnqualifiedArrayType(T, Quals); in BuildCXXTypeId() 5507 Qualifiers Quals = Qualifiers::fromCVRMask(*I); in FindCompositePointerType() local 5511 Context.getQualifiedType(Composite1, Quals), in FindCompositePointerType() 5514 Context.getQualifiedType(Composite2, Quals), in FindCompositePointerType() 5519 = Context.getPointerType(Context.getQualifiedType(Composite1, Quals)); in FindCompositePointerType() 5521 = Context.getPointerType(Context.getQualifiedType(Composite2, Quals)); in FindCompositePointerType()
|
D | SemaDeclCXX.cpp | 5159 Sema::CXXSpecialMember CSM, unsigned Quals, in specialMemberIsConstexpr() argument 5177 lookupCallFromSpecialMember(S, ClassDecl, CSM, Quals, ConstRHS); in specialMemberIsConstexpr() 5622 unsigned Quals, bool IsMutable) { in lookupIn() 5623 return lookupCallFromSpecialMember(S, Class, CSM, Quals, in lookupIn() 5634 unsigned Quals); 5717 CXXRecordDecl *Class, Subobject Subobj, unsigned Quals) { in shouldDeleteForClassSubobject() argument 5737 shouldDeleteForSubobjectCall(Subobj, lookupIn(Class, Quals, IsMutable), in shouldDeleteForClassSubobject() 6039 Sema::CXXSpecialMember CSM, unsigned Quals, in findTrivialSpecialMember() argument 6097 if (Quals == Qualifiers::Const) in findTrivialSpecialMember() 6117 if (Quals == Qualifiers::Const) in findTrivialSpecialMember() [all …]
|
D | SemaOverload.cpp | 2048 Qualifiers Quals = CanonFromPointee.getQualifiers(); in BuildSimilarlyQualifiedPointerType() local 2051 Quals.removeObjCLifetime(); in BuildSimilarlyQualifiedPointerType() 2054 if (CanonToPointee.getLocalQualifiers() == Quals) { in BuildSimilarlyQualifiedPointerType() 2068 = Context.getQualifiedType(CanonToPointee.getLocalUnqualifiedType(), Quals); in BuildSimilarlyQualifiedPointerType() 3499 Qualifiers Quals; in hasSimilarType() local 3500 T1 = Context.getUnqualifiedArrayType(T1, Quals); in hasSimilarType() 3501 T2 = Context.getUnqualifiedArrayType(T2, Quals); in hasSimilarType() 4867 unsigned Quals = isa<CXXDestructorDecl>(Method) ? in TryObjectArgumentInitialization() local 4869 QualType ImplicitParamType = S.Context.getCVRQualifiedType(ClassType, Quals); in TryObjectArgumentInitialization() 4935 if (!FromClassification.isLValue() && Quals != Qualifiers::Const) { in TryObjectArgumentInitialization()
|
D | SemaObjCProperty.cpp | 738 if (split.Quals.hasObjCLifetime()) { in checkARCPropertyImpl() 740 split.Quals.setObjCLifetime(Qualifiers::OCL_Strong); in checkARCPropertyImpl()
|
/external/libcxxabi/src/ |
D | cxa_demangle.cpp | 370 const Qualifiers Quals; member in __anon9d46d5f30111::QualType 374 if (Quals & QualConst) in printQuals() 376 if (Quals & QualVolatile) in printQuals() 378 if (Quals & QualRestrict) in printQuals() 386 Quals(Quals_), Child(Child_) {} in QualType() 780 FunctionRefQual Quals; member in __anon9d46d5f30111::FunctionRefQualType 789 Fn(Fn_), Quals(Quals_) {} in FunctionRefQualType() 795 if (Quals == FrefQualLValue) in printQuals()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1246 Expr *ArraySize, unsigned Quals, 1678 diagnoseIgnoredQualifiers(unsigned DiagID, unsigned Quals, 2875 unsigned Quals); 2876 CXXMethodDecl *LookupCopyingAssignment(CXXRecordDecl *Class, unsigned Quals, 2879 unsigned Quals); 2880 CXXMethodDecl *LookupMovingAssignment(CXXRecordDecl *Class, unsigned Quals,
|