/external/clang/include/clang/AST/ |
D | ASTContext.h | 204 QualType BuiltinVaListType; 220 QualType ObjCIdRedefinitionType; 221 QualType ObjCClassRedefinitionType; 222 QualType ObjCSelRedefinitionType; 224 QualType ObjCConstantStringType; 227 QualType ObjCNSStringType; 575 mutable QualType AutoDeductTy; // Deduction against 'auto'. 576 mutable QualType AutoRRefDeductTy; // Deduction against 'auto &&'. 625 QualType getExtQualType(const Type *Base, Qualifiers Quals) const; 627 QualType getTypeDeclTypeSlow(const TypeDecl *Decl) const; [all …]
|
D | Type.h | 41 class QualType; variable 67 struct isPodLike<clang::QualType> { static const bool value = true; }; 491 class QualType { 514 QualType() {} 516 QualType(const Type *Ptr, unsigned Quals) 518 QualType(const ExtQuals *Ptr, unsigned Quals) 542 static QualType getFromOpaquePtr(const void *Ptr) { 543 QualType T; 631 return QualType::isConstant(*this, Ctx); 658 QualType withConst() const { [all …]
|
D | TypeOrdering.h | 27 struct QualTypeOrdering : std::binary_function<QualType, QualType, bool> { 28 bool operator()(QualType T1, QualType T2) const { in operator() 38 template<> struct DenseMapInfo<clang::QualType> { 39 static inline clang::QualType getEmptyKey() { return clang::QualType(); } 41 static inline clang::QualType getTombstoneKey() { 42 using clang::QualType; 43 return QualType::getFromOpaquePtr(reinterpret_cast<clang::Type *>(-1)); 46 static unsigned getHashValue(clang::QualType Val) { 51 static bool isEqual(clang::QualType LHS, clang::QualType RHS) {
|
D | ExprObjC.h | 33 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L) in ObjCStringLiteral() 66 ObjCBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) : in ObjCBoolLiteralExpr() 99 ObjCBoxedExpr(Expr *E, QualType T, ObjCMethodDecl *method, in ObjCBoxedExpr() 140 QualType T, ObjCMethodDecl * Method, 149 QualType T, ObjCMethodDecl * Method, 255 QualType T, ObjCMethodDecl *method, 289 QualType T, ObjCMethodDecl *method, 344 ObjCEncodeExpr(QualType T, TypeSourceInfo *EncodedType, in ObjCEncodeExpr() 361 QualType getEncodedType() const { return EncodedType->getType(); } in getEncodedType() 386 ObjCSelectorExpr(QualType T, Selector selInfo, in ObjCSelectorExpr() [all …]
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 82 QualType T = NTTP->getExpansionType(I); in Profile() 125 QualType T = getCanonicalType(NTTP->getType()); in getCanonicalTemplateTemplateParmDecl() 129 SmallVector<QualType, 2> ExpandedTypes; in getCanonicalTemplateTemplateParmDecl() 235 NullTypeSourceInfo(QualType()), in ASTContext() 384 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); in InitBuiltinType() 476 BuiltinVaListType = QualType(); in InitBuiltinTypes() 487 ObjCConstantStringType = QualType(); in InitBuiltinTypes() 705 const llvm::fltSemantics &ASTContext::getFloatTypeSemantics(QualType T) const { in getFloatTypeSemantics() 753 QualType T = VD->getType(); in getDeclAlign() 815 ASTContext::getTypeInfoInChars(QualType T) const { in getTypeInfoInChars() [all …]
|
D | ASTDiagnostic.cpp | 24 static QualType Desugar(ASTContext &Context, QualType QT, bool &ShouldAKA) { in Desugar() 66 if (QualType(Ty,0) == Context.getObjCIdType() || in Desugar() 67 QualType(Ty,0) == Context.getObjCClassType() || in Desugar() 68 QualType(Ty,0) == Context.getObjCSelType() || in Desugar() 69 QualType(Ty,0) == Context.getObjCProtoType()) in Desugar() 73 if (QualType(Ty,0) == Context.getBuiltinVaListType()) in Desugar() 77 QualType Underlying; in Desugar() 154 ConvertTypeToDiagnosticString(ASTContext &Context, QualType Ty, in ConvertTypeToDiagnosticString() 160 QualType CanTy = Ty.getCanonicalType(); in ConvertTypeToDiagnosticString() 165 QualType CompareTy = in ConvertTypeToDiagnosticString() [all …]
|
D | InheritViz.cpp | 37 std::map<QualType, int, QualTypeOrdering> DirectBaseCount; 38 std::set<QualType, QualTypeOrdering> KnownVirtualBases; 44 void WriteGraph(QualType Type) { in WriteGraph() 53 void WriteNode(QualType Type, bool FromVirtual); 58 raw_ostream& WriteNodeReference(QualType Type, bool FromVirtual); 61 void InheritanceHierarchyWriter::WriteNode(QualType Type, bool FromVirtual) { in WriteNode() 62 QualType CanonType = Context.getCanonicalType(Type); in WriteNode() 96 QualType CanonBaseType = Context.getCanonicalType(Base->getType()); in WriteNode() 124 InheritanceHierarchyWriter::WriteNodeReference(QualType Type, in WriteNodeReference() 126 QualType CanonType = Context.getCanonicalType(Type); in WriteNodeReference() [all …]
|
D | Type.cpp | 45 const IdentifierInfo* QualType::getBaseTypeIdentifier() const { in getBaseTypeIdentifier() 65 bool QualType::isConstant(QualType T, ASTContext &Ctx) { in isConstant() 76 QualType ElementType, in getNumAddressingBits() 103 QualType et, QualType can, in DependentSizedArrayType() 116 QualType ET, in Profile() 128 QualType ElementType, in DependentSizedExtVectorType() 129 QualType can, in DependentSizedExtVectorType() 145 QualType ElementType, Expr *SizeExpr) { in Profile() 150 VectorType::VectorType(QualType vecType, unsigned nElements, QualType canonType, in VectorType() 162 VectorType::VectorType(TypeClass tc, QualType vecType, unsigned nElements, in VectorType() [all …]
|
D | ASTImporter.cpp | 29 class ASTNodeImporter : public TypeVisitor<ASTNodeImporter, QualType>, 37 using TypeVisitor<ASTNodeImporter, QualType>::Visit; 42 QualType VisitType(const Type *T); 43 QualType VisitBuiltinType(const BuiltinType *T); 44 QualType VisitComplexType(const ComplexType *T); 45 QualType VisitPointerType(const PointerType *T); 46 QualType VisitBlockPointerType(const BlockPointerType *T); 47 QualType VisitLValueReferenceType(const LValueReferenceType *T); 48 QualType VisitRValueReferenceType(const RValueReferenceType *T); 49 QualType VisitMemberPointerType(const MemberPointerType *T); [all …]
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 66 static CXTypeKind GetTypeKind(QualType T) { in GetTypeKind() 96 CXType cxtype::MakeCXType(QualType T, CXTranslationUnit TU) { in MakeCXType() 104 static inline QualType GetQualType(CXType CT) { in GetQualType() 105 return QualType::getFromOpaquePtr(CT.data[0]); in GetQualType() 120 QualType T = cxcursor::getCursorExpr(C)->getType(); in clang_getCursorType() 127 return MakeCXType(QualType(), TU); in clang_getCursorType() 139 return MakeCXType(QualType(), TU); in clang_getCursorType() 145 QualType T in clang_getCursorType() 151 QualType T = Context.getObjCInterfaceType(getCursorObjCClassRef(C).first); in clang_getCursorType() 156 QualType T = Context.getTypeDeclType(getCursorTypeRef(C).first); in clang_getCursorType() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SValBuilder.h | 48 const QualType ArrayIndexTy; 53 virtual SVal evalCastFromNonLoc(NonLoc val, QualType castTy) = 0; 54 virtual SVal evalCastFromLoc(Loc val, QualType castTy) = 0; 59 virtual SVal dispatchCast(SVal val, QualType castTy) = 0; 77 bool haveSameType(QualType Ty1, QualType Ty2) { in haveSameType() 84 SVal evalCast(SVal val, QualType castTy, QualType originalType); 93 NonLoc lhs, NonLoc rhs, QualType resultTy) = 0; 98 Loc lhs, Loc rhs, QualType resultTy) = 0; 104 Loc lhs, NonLoc rhs, QualType resultTy) = 0; 115 NonLoc lhs, NonLoc rhs, QualType resultTy); [all …]
|
D | SymbolManager.h | 68 virtual QualType getType(ASTContext&) const = 0; 145 QualType getType(ASTContext&) const; 157 QualType T; 164 QualType t, unsigned count, in SymbolConjured() 174 QualType getType(ASTContext&) const; 179 QualType T, unsigned Count, const LocationContext *LCtx, in Profile() 212 QualType getType(ASTContext&) const; 245 QualType getType(ASTContext&) const; 271 QualType T; 275 SymbolMetadata(SymbolID sym, const MemRegion* r, const Stmt *s, QualType t, in SymbolMetadata() [all …]
|
/external/clang/include/clang/Sema/ |
D | Initialization.h | 88 QualType Type; 144 InitializedEntity(EntityKind Kind, SourceLocation Loc, QualType Type, 194 QualType Type, in InitializeParameter() 206 QualType Type, bool NRVO) { in InitializeResult() 211 QualType Type, bool NRVO) { in InitializeBlock() 217 QualType Type, bool NRVO) { in InitializeException() 222 static InitializedEntity InitializeNew(SourceLocation NewLoc, QualType Type) { in InitializeNew() 227 static InitializedEntity InitializeTemporary(QualType Type) { in InitializeTemporary() 245 static InitializedEntity InitializeDelegation(QualType Type) { in InitializeDelegation() 284 QualType getType() const { return Type; } in getType() [all …]
|
D | Overload.h | 212 void setFromType(QualType T) { FromTypePtr = T.getAsOpaquePtr(); } in setFromType() 213 void setToType(unsigned Idx, QualType T) { in setToType() 217 void setAllToTypes(QualType T) { in setAllToTypes() 223 QualType getFromType() const { in getFromType() 224 return QualType::getFromOpaquePtr(FromTypePtr); in getFromType() 226 QualType getToType(unsigned Idx) const { in getToType() 228 return QualType::getFromOpaquePtr(ToTypePtrs[Idx]); in getToType() 240 QualType &ConstantType) const; 300 QualType getFromType() const { in getFromType() 301 return QualType::getFromOpaquePtr(FromTypePtr); in getFromType() [all …]
|
D | Sema.h | 136 class QualType; variable 191 typedef OpaquePtr<QualType> TypeTy; 449 QualType SavedCXXThisTypeOverride; 527 QualType NSNumberPointer; 536 QualType NSStringPointer; 554 QualType QIDNSCopying; 843 const char *getFixItZeroInitializerForType(QualType T) const; 885 QualType BuildQualifiedType(QualType T, SourceLocation Loc, Qualifiers Qs); 886 QualType BuildQualifiedType(QualType T, SourceLocation Loc, unsigned CVR) { in BuildQualifiedType() 889 QualType BuildPointerType(QualType T, [all …]
|
/external/clang/lib/Sema/ |
D | TypeLocBuilder.h | 38 QualType LastTy; 70 TypeLoc pushFullUninitialized(QualType T) { in pushFullUninitialized() 76 TypeSpecTypeLoc pushTypeSpec(QualType T) { in pushTypeSpec() 84 LastTy = QualType(); in clear() 91 void TypeWasModifiedSafely(QualType T) { in TypeWasModifiedSafely() 99 template <class TyLocType> TyLocType push(QualType T) { in push() 105 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo() 118 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) { in getTypeLocInContext() 130 TypeLoc pushImpl(QualType T, size_t LocalSize) { in pushImpl() 132 QualType TLast = TypeLoc(T, 0).getNextTypeLoc().getType(); in pushImpl() [all …]
|
D | TreeTransform.h | 197 bool AlreadyTransformed(QualType T) { in AlreadyTransformed() 290 QualType TransformType(QualType T); 306 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL); 418 QualType ObjectType = QualType(), 453 QualType ObjectType = QualType(), 515 TypeSourceInfo *InventTypeSourceInfo(QualType T) { in InventTypeSourceInfo() 522 QualType Transform##CLASS##Type(TypeLocBuilder &TLB, CLASS##TypeLoc T); 525 QualType TransformFunctionProtoType(TypeLocBuilder &TLB, 533 QualType 538 QualType [all …]
|
D | SemaType.cpp | 57 QualType type) { in diagnoseBadTypeAttribute() 188 void diagnoseIgnoredTypeAttrs(QualType type) const { in diagnoseIgnoredTypeAttrs() 272 QualType &type, bool isDeclSpec, 277 QualType &type); 280 AttributeList &attr, QualType &type); 283 AttributeList &attr, QualType &type); 286 AttributeList &attr, QualType &type) { in handleObjCPointerTypeAttr() 300 QualType type) { in distributeObjCPointerTypeAttr() 332 QualType &declSpecType) { in distributeObjCPointerTypeAttrFromDeclarator() 393 QualType type) { in distributeFunctionTypeAttr() [all …]
|
D | SemaCast.cpp | 48 CastOperation(Sema &S, QualType destType, ExprResult src) in CastOperation() 64 QualType DestType; 65 QualType ResultType; 143 static bool CastsAwayConstness(Sema &Self, QualType SrcType, QualType DestType, 158 QualType DestType, bool CStyle, 163 QualType DestType, bool CStyle, 168 static TryCastResult TryStaticPointerDowncast(Sema &Self, QualType SrcType, 169 QualType DestType, bool CStyle, 177 QualType OrigSrcType, 178 QualType OrigDestType, unsigned &msg, [all …]
|
D | SemaOverload.cpp | 54 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType, 61 QualType &ToType, 66 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType, 245 QualType FromType = getFromType(); in isPointerConversionToVoidPointer() 246 QualType ToType = getToType(1); in isPointerConversionToVoidPointer() 297 QualType &ConstantType) const { in getNarrowingKind() 302 QualType FromType = getToType(0); in getNarrowingKind() 303 QualType ToType = getToType(1); in getNarrowingKind() 908 QualType OldQType = Context.getCanonicalType(Old->getType()); in IsOverload() 909 QualType NewQType = Context.getCanonicalType(New->getType()); in IsOverload() [all …]
|
D | SemaExprCXX.cpp | 67 QualType SearchType; in getDestructorName() 165 QualType T = Context.getTypeDeclType(Type); in getDestructorName() 185 QualType MemberOfType; in getDestructorName() 250 QualType T = CheckTypenameType(ETK_None, SourceLocation(), in getDestructorName() 257 QualType T = Context.getTypeDeclType(NonMatchingTypeDecl); in getDestructorName() 276 QualType T = BuildDecltypeType(DS.getRepAsExpr(), DS.getTypeSpecTypeLoc()); in getDestructorType() 277 QualType SearchType = GetTypeFromParser(ObjectType); in getDestructorType() 288 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType, in BuildCXXTypeId() 298 QualType T in BuildCXXTypeId() 311 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType, in BuildCXXTypeId() [all …]
|
D | SemaExpr.cpp | 229 QualType type = cast<ValueDecl>(D)->getType(); in DiagnoseSentinelCalls() 317 QualType Ty = E->getType(); in DefaultFunctionArrayConversion() 374 QualType T = E->getType(); in DefaultLvalueConversion() 447 QualType Ty = E->getType(); in UsualUnaryConversions() 472 QualType PTy = Context.isPromotableBitField(E); in UsualUnaryConversions() 478 QualType PT = Context.getPromotedIntegerType(Ty); in UsualUnaryConversions() 490 QualType Ty = E->getType(); in DefaultArgumentPromotion() 633 QualType IntTy, in handleIntegerToComplexFloatConversion() 634 QualType ComplexTy, in handleIntegerToComplexFloatConversion() 639 QualType fpTy = cast<ComplexType>(ComplexTy)->getElementType(); in handleIntegerToComplexFloatConversion() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 31 DefinedOrUnknownSVal SValBuilder::makeZeroVal(QualType type) { in makeZeroVal() 44 const llvm::APSInt& rhs, QualType type) { in makeNonLoc() 55 QualType type) { in makeNonLoc() 62 const SymExpr *rhs, QualType type) { in makeNonLoc() 70 QualType fromTy, QualType toTy) { in makeNonLoc() 96 QualType T = region->getValueType(); in getRegionValueSymbolVal() 114 QualType T = expr->getType(); in getConjuredSymbolVal() 122 QualType type, in getConjuredSymbolVal() 139 QualType type, in getConjuredSymbolVal() 154 const Expr *expr, QualType type, in getMetadataSymbolVal() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.h | 86 llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile F); 104 llvm::DIType getTypeOrNull(const QualType); 105 llvm::DIType getCompletedTypeOrNull(const QualType); 108 llvm::DIType getOrCreateFunctionType(const Decl *D, QualType FnType, 112 llvm::DIType CreatePointeeType(QualType PointeeTy, llvm::DIFile F); 114 const Type *Ty, QualType PointeeTy, 146 llvm::DIType createFieldType(StringRef name, QualType type, 180 void EmitFunctionStart(GlobalDecl GD, QualType FnType, 228 llvm::DIType getOrCreateRecordType(QualType Ty, SourceLocation L); 232 llvm::DIType getOrCreateInterfaceType(QualType Ty, [all …]
|
D | CodeGenTypes.h | 45 class QualType; variable 120 llvm::Type *ConvertType(QualType T); 126 llvm::Type *ConvertTypeForMem(QualType T); 137 bool isFuncTypeArgumentConvertible(QualType Ty); 176 const CGFunctionInfo &arrangeFunctionDeclaration(QualType ResTy, 183 QualType receiverType); 194 const CGFunctionInfo &arrangeFunctionCall(QualType ResTy, 230 void GetExpandedTypes(QualType type, 235 bool isZeroInitializable(QualType T);
|