Searched defs:Quals (Results 1 - 21 of 21) sorted by relevance

/external/clang/lib/AST/
H A DDeclPrinter.cpp42 /// \param Quals The Objective-C declaration qualifiers.
44 void PrintObjCMethodType(ASTContext &Ctx, Decl::ObjCDeclQualifier Quals,
981 Decl::ObjCDeclQualifier Quals,
984 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_In)
986 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_Inout)
988 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_Out)
990 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_Bycopy)
992 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_Byref)
994 if (Quals & Decl::ObjCDeclQualifier::OBJC_TQ_Oneway)
996 if (Quals
980 PrintObjCMethodType(ASTContext &Ctx, Decl::ObjCDeclQualifier Quals, QualType T) argument
[all...]
H A DTypePrinter.cpp141 print(split.Ty, split.Quals, OS, PlaceHolder);
144 void TypePrinter::print(const Type *T, Qualifiers Quals, raw_ostream &OS, argument
153 printBefore(T, Quals, OS);
155 printAfter(T, Quals, OS);
239 Qualifiers Quals = Split.Quals; local
242 Quals -= QualType(Subst, 0).getQualifiers();
244 printBefore(Split.Ty, Quals, OS);
249 void TypePrinter::printBefore(const Type *T,Qualifiers Quals, raw_ostream &OS) { argument
261 if (CanPrefixQualifiers && !Quals
302 printAfter(const Type *T, Qualifiers Quals, raw_ostream &OS) argument
[all...]
H A DExprCXX.cpp45 Qualifiers Quals; local
47 Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals);
52 Qualifiers Quals; local
54 Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals);
H A DItaniumMangle.cpp367 void mangleQualifiers(Qualifiers Quals);
1767 void CXXNameMangler::mangleQualifiers(Qualifiers Quals) { argument
1769 if (Quals.hasRestrict())
1771 if (Quals.hasVolatile())
1773 if (Quals.hasConst())
1776 if (Quals.hasAddressSpace()) {
1784 unsigned AS = Quals.getAddressSpace();
1807 switch (Quals.getObjCLifetime()) {
1863 static bool isTypeSubstitutable(Qualifiers Quals, const Type *Ty) { argument
1864 if (Quals)
[all...]
H A DMicrosoftMangle.cpp281 void mangleQualifiers(Qualifiers Quals, bool IsMember);
283 void manglePointerCVQualifiers(Qualifiers Quals);
284 void manglePointerExtQualifiers(Qualifiers Quals, QualType PointeeType);
298 Qualifiers Quals, \
1293 void MicrosoftCXXNameMangler::mangleQualifiers(Qualifiers Quals, argument
1347 bool HasConst = Quals.hasConst(),
1348 HasVolatile = Quals.hasVolatile();
1393 void MicrosoftCXXNameMangler::manglePointerExtQualifiers(Qualifiers Quals, argument
1395 bool HasRestrict = Quals.hasRestrict();
1404 void MicrosoftCXXNameMangler::manglePointerCVQualifiers(Qualifiers Quals) { argument
1479 Qualifiers Quals = T.getLocalQualifiers(); local
1770 Qualifiers Quals = Qualifiers::fromCVRMask(Proto->getTypeQuals()); local
2086 mangleType(const MemberPointerType *T, Qualifiers Quals, SourceRange Range) argument
2123 mangleType(const PointerType *T, Qualifiers Quals, SourceRange Range) argument
2130 mangleType(const ObjCObjectPointerType *T, Qualifiers Quals, SourceRange Range) argument
2143 mangleType(const LValueReferenceType *T, Qualifiers Quals, SourceRange Range) argument
2154 mangleType(const RValueReferenceType *T, Qualifiers Quals, SourceRange Range) argument
2171 mangleType(const VectorType *T, Qualifiers Quals, SourceRange Range) argument
2211 mangleType(const ExtVectorType *T, Qualifiers Quals, SourceRange Range) argument
2213 mangleType(static_cast<const VectorType *>(T), Quals, Range); local
2238 mangleType(const BlockPointerType *T, Qualifiers Quals, SourceRange Range) argument
[all...]
H A DASTContext.cpp2156 canonSplit.Quals.addConsistentQualifiers(quals);
2157 canon = getExtQualType(canonSplit.Ty, canonSplit.Quals);
2176 QualifierCollector Quals;
2177 const Type *TypeNode = Quals.strip(T);
2181 assert(!Quals.hasAddressSpace() &&
2183 Quals.addAddressSpace(AddressSpace);
2185 return getExtQualType(TypeNode, Quals);
2204 QualifierCollector Quals; local
2205 const Type *TypeNode = Quals.strip(T);
2209 assert(!Quals
[all...]
H A DExprConstant.cpp2097 Qualifiers Quals = T.getQualifiers(); local
2098 return Quals.hasConst() && !Quals.hasVolatile();
/external/clang/lib/CodeGen/
H A DCGValue.h177 Qualifiers Quals; member in class:clang::CodeGen::LValue
220 void Initialize(QualType Type, Qualifiers Quals, argument
226 this->Quals = Quals;
252 bool isVolatileQualified() const { return Quals.hasVolatile(); }
253 bool isRestrictQualified() const { return Quals.hasRestrict(); }
255 return Quals.getCVRQualifiers() & ~Qualifiers::Const;
261 return Quals.getObjCLifetime();
289 return Quals.getObjCGCAttr() == Qualifiers::Weak;
292 return Quals
446 Qualifiers Quals; member in class:clang::CodeGen::AggValueSlot
[all...]
H A DCGDebugInfo.cpp2095 Qualifiers Quals; local
2100 Quals += Qualifiers::removeCommonQualifiers(Quals, InnerQuals);
2101 Quals += InnerQuals;
2105 return C.getQualifiedType(T.getTypePtr(), Quals);
2109 return C.getQualifiedType(T.getTypePtr(), Quals);
H A DCGExpr.cpp170 Qualifiers Quals,
180 EmitAggExpr(E, AggValueSlot::forAddr(Location, Quals,
168 EmitAnyExprToMem(const Expr *E, Address Location, Qualifiers Quals, bool IsInit) argument
H A DItaniumCXXABI.cpp2563 Qualifiers Quals = PointeeTy.getQualifiers();
2564 Quals.removeConst();
2566 if (!Quals.empty())
3050 static unsigned ComputeQualifierFlags(Qualifiers Quals) { argument
3053 if (Quals.hasConst())
3055 if (Quals.hasVolatile())
3057 if (Quals.hasRestrict())
3239 Qualifiers Quals; local
3241 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals);
3246 unsigned Flags = ComputeQualifierFlags(Quals);
3272 Qualifiers Quals; local
[all...]
/external/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp1024 Qualifiers Quals; local
1025 QualType UnqualParam = S.Context.getUnqualifiedArrayType(Param, Quals);
1026 Quals.setCVRQualifiers(Quals.getCVRQualifiers() &
1028 Param = S.Context.getQualifiedType(UnqualParam, Quals);
1074 Qualifiers Quals; local
1075 Arg = S.Context.getUnqualifiedArrayType(Arg, Quals);
1076 if (Quals) {
1077 Arg = S.Context.getQualifiedType(Arg, Quals);
H A DSemaCodeComplete.cpp232 void setObjectTypeQualifiers(Qualifiers Quals) { argument
233 ObjectTypeQualifiers = Quals;
6371 std::string Quals = formatObjCParamQualifiers(ObjCDeclQuals, Type); local
6372 if (!Quals.empty())
6373 Builder.AddTextChunk(Builder.getAllocator().CopyString(Quals));
6448 AddObjCPassingTypeChunk(Property->getType(), /*Quals=*/0,
6496 AddObjCPassingTypeChunk(Property->getType(), /*Quals=*/0,
H A DSemaExprCXX.cpp381 Qualifiers Quals; local
384 Quals);
440 Qualifiers Quals; local
441 QualType UnqualT = Context.getUnqualifiedArrayType(T, Quals);
5233 Qualifiers Quals = Qualifiers::fromCVRMask(*I); local
5237 Context.getQualifiedType(Composite1, Quals),
5240 Context.getQualifiedType(Composite2, Quals),
5245 = Context.getPointerType(Context.getQualifiedType(Composite1, Quals));
5247 = Context.getPointerType(Context.getQualifiedType(Composite2, Quals));
H A DSemaOverload.cpp1982 Qualifiers Quals = CanonFromPointee.getQualifiers(); local
1985 Quals.removeObjCLifetime();
1988 if (CanonToPointee.getLocalQualifiers() == Quals) {
2002 = Context.getQualifiedType(CanonToPointee.getLocalUnqualifiedType(), Quals);
3446 Qualifiers Quals; local
3447 T1 = Context.getUnqualifiedArrayType(T1, Quals);
3448 T2 = Context.getUnqualifiedArrayType(T2, Quals);
4807 unsigned Quals = isa<CXXDestructorDecl>(Method) ? local
4809 QualType ImplicitParamType = S.Context.getCVRQualifiedType(ClassType, Quals);
4875 if (!FromClassification.isLValue() && Quals !
[all...]
H A DSemaType.cpp1713 Split.Quals.addCVRQualifiers(CVR);
1714 return BuildQualifiedType(T, Loc, Split.Quals);
1778 std::string Quals = local
1786 if (!Quals.empty())
1787 Quals += ' ';
1788 Quals += '&';
1792 if (!Quals.empty())
1793 Quals += ' ';
1794 Quals += "&&";
1798 return Quals;
1964 BuildArrayType(QualType T, ArrayType::ArraySizeModifier ASM, Expr *ArraySize, unsigned Quals, SourceRange Brackets, DeclarationName Entity) argument
2448 diagnoseIgnoredQualifiers(unsigned DiagID, unsigned Quals, SourceLocation FallbackLoc, SourceLocation ConstQualLoc, SourceLocation VolatileQualLoc, SourceLocation RestrictQualLoc, SourceLocation AtomicQualLoc) argument
[all...]
H A DSemaDeclCXX.cpp5062 unsigned Quals, bool ConstRHS) {
5064 lookupCallFromSpecialMember(S, ClassDecl, CSM, Quals, ConstRHS);
5492 unsigned Quals, bool IsMutable) {
5493 return lookupCallFromSpecialMember(S, Class, CSM, Quals,
5504 unsigned Quals);
5587 CXXRecordDecl *Class, Subobject Subobj, unsigned Quals) {
5607 shouldDeleteForSubobjectCall(Subobj, lookupIn(Class, Quals, IsMutable),
5884 Sema::CXXSpecialMember CSM, unsigned Quals,
5942 if (Quals == Qualifiers::Const)
5962 if (Quals
5060 specialMemberIsConstexpr(Sema &S, CXXRecordDecl *ClassDecl, Sema::CXXSpecialMember CSM, unsigned Quals, bool ConstRHS) argument
5491 lookupIn(CXXRecordDecl *Class, unsigned Quals, bool IsMutable) argument
5586 shouldDeleteForClassSubobject( CXXRecordDecl *Class, Subobject Subobj, unsigned Quals) argument
5883 findTrivialSpecialMember(Sema &S, CXXRecordDecl *RD, Sema::CXXSpecialMember CSM, unsigned Quals, bool ConstRHS, CXXMethodDecl **Selected) argument
10810 unsigned Quals = T->getParamType(0).getNonReferenceType().getCVRQualifiers(); local
[all...]
H A DTreeTransform.h3930 Qualifiers Quals = T.getType().getLocalQualifiers(); local
3944 if (Quals.hasObjCLifetime()) {
3946 Quals.removeObjCLifetime();
3981 Quals.removeObjCLifetime();
3985 if (!Quals.empty()) {
3986 Result = SemaRef.BuildQualifiedType(Result, T.getBeginLoc(), Quals);
/external/clang/include/clang/AST/
H A DDeclCXX.h2303 unsigned Quals; local
2304 return isCopyOrMoveConstructor(Quals);
H A DType.h352 Qualifiers Quals = *this; local
353 Quals.setFastQualifiers(0);
354 return Quals;
523 Qualifiers Quals; member in struct:clang::SplitQualType
525 SplitQualType() : Ty(nullptr), Quals() {}
526 SplitQualType(const Type *ty, Qualifiers qs) : Ty(ty), Quals(qs) {}
532 return std::pair<const Type *, Qualifiers>(Ty, Quals);
536 return a.Ty == b.Ty && a.Quals == b.Quals;
539 return a.Ty != b.Ty || a.Quals !
600 QualType(const Type *Ptr, unsigned Quals) argument
602 QualType(const ExtQuals *Ptr, unsigned Quals) argument
606 setLocalFastQualifiers(unsigned Quals) argument
1157 Qualifiers Quals; member in class:clang::ExtQuals
1192 Profile(llvm::FoldingSetNodeID &ID, const Type *BaseType, Qualifiers Quals) argument
5073 Qualifiers Quals; local
[all...]
/external/clang/lib/Serialization/
H A DASTReader.cpp5199 Qualifiers Quals = Qualifiers::fromOpaqueValue(Record[Idx++]); local
5200 return Context.getQualifiedType(Base, Quals);

Completed in 359 milliseconds