/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Analysis/DomainSpecific/ |
H A D | CocoaConventions.h | 22 class QualType; 27 bool isRefType(QualType RetTy, StringRef Prefix, 30 bool isCocoaObjectRef(QualType T); 35 bool isCFObjectRef(QualType T);
|
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | TypeOrdering.h | 13 /// Defines clang::QualTypeOrdering, a total ordering on clang::QualType, 14 /// and hence enables QualType values to be sorted and to be used in 28 /// \brief Function object that provides a total ordering on QualType values. 29 struct QualTypeOrdering : std::binary_function<QualType, QualType, bool> { 30 bool operator()(QualType T1, QualType T2) const { 40 template<> struct DenseMapInfo<clang::QualType> { 41 static inline clang::QualType getEmptyKey() { return clang::QualType(); } [all...] |
H A D | ASTContext.h | 225 QualType ObjCIdRedefinitionType; 226 QualType ObjCClassRedefinitionType; 227 QualType ObjCSelRedefinitionType; 229 QualType ObjCConstantStringType; 232 mutable QualType ObjCSuperType; 234 QualType ObjCNSStringType; 496 QualType getIntTypeForBitwidth(unsigned DestWidth, 501 QualType getRealTypeForBitwidth(unsigned DestWidth) const; 793 mutable QualType AutoDeductTy; // Deduction against 'auto'. 794 mutable QualType AutoRRefDeductT [all...] |
H A D | Type.h | 43 class QualType; 69 struct isPodLike<clang::QualType> { static const bool value = true; }; 326 // on a QualType object. 521 /// QualType - For efficiency, we don't store CV-qualified types as nodes on 529 /// pointer. To handle the packing/unpacking, we make QualType be a 533 class QualType { class in namespace:clang 556 QualType() {} function in class:clang::QualType 558 QualType(const Type *Ptr, unsigned Quals) function in class:clang::QualType 560 QualType(const ExtQuals *Ptr, unsigned Quals) function in class:clang::QualType 577 /// Divides a QualType int [all...] |
H A D | NSAPI.h | 19 class QualType; 179 getNSNumberFactoryMethodKind(QualType T) const; 182 bool isObjCBOOLType(QualType T) const; 184 bool isObjCNSIntegerType(QualType T) const; 186 bool isObjCNSUIntegerType(QualType T) const; 189 bool isObjCTypedef(QualType T, StringRef name, IdentifierInfo *&II) const;
|
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | DynamicTypeInfo.h | 21 QualType T; 26 DynamicTypeInfo() : T(QualType()) {} 27 DynamicTypeInfo(QualType WithType, bool CanBeSub = true) 34 QualType getType() const { return T; }
|
H A 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) { 85 SVal evalCast(SVal val, QualType castTy, QualType originalType); 94 NonLoc lhs, NonLoc rhs, QualType resultTy) = 0; 99 Loc lhs, Loc rhs, QualType resultT [all...] |
H A D | SymbolManager.h | 71 virtual QualType getType() const = 0; 147 QualType getType() const; 159 QualType T; 166 QualType t, unsigned count, 176 QualType getType() const; 181 QualType T, unsigned Count, const LocationContext *LCtx, 214 QualType getType() const; 247 QualType getType() const; 273 QualType T; 277 SymbolMetadata(SymbolID sym, const MemRegion* r, const Stmt *s, QualType [all...] |
H A D | BasicValueFactory.h | 28 QualType T; 32 CompoundValData(QualType t, llvm::ImmutableList<SVal> l) 39 static void Profile(llvm::FoldingSetNodeID& ID, QualType T, 78 // method that takes a QualType. 92 const llvm::APSInt& getValue(uint64_t X, QualType T); 94 /// Returns the type of the APSInt used to store values of the given QualType. 95 APSIntType getAPSIntType(QualType T) const { 112 const llvm::APSInt &Convert(QualType T, const llvm::APSInt &From) { 121 QualType T = isUnsigned ? Ctx.UnsignedIntTy : Ctx.IntTy; 133 inline const llvm::APSInt& getMaxValue(QualType [all...] |
H A D | Store.h | 61 virtual SVal getBinding(Store store, Loc loc, QualType T = QualType()) = 0; 102 virtual SVal getLValueElement(QualType elementType, NonLoc offset, SVal Base); 108 QualType EleTy) { 114 virtual SVal ArrayToPointer(Loc Array, QualType ElementTy) = 0; 124 SVal evalDerivedToBase(SVal Derived, QualType DerivedPtrType, 135 SVal evalDynamicCast(SVal Base, QualType DerivedPtrType, bool &Failed); 137 const ElementRegion *GetElementZeroRegion(const MemRegion *R, QualType T); 142 const MemRegion *castRegion(const MemRegion *region, QualType CastToTy); 236 QualType pointeeT [all...] |
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | InheritViz.cpp | 39 std::map<QualType, int, QualTypeOrdering> DirectBaseCount; 40 std::set<QualType, QualTypeOrdering> KnownVirtualBases; 46 void WriteGraph(QualType Type) { 55 void WriteNode(QualType Type, bool FromVirtual); 60 raw_ostream& WriteNodeReference(QualType Type, bool FromVirtual); 63 void InheritanceHierarchyWriter::WriteNode(QualType Type, bool FromVirtual) { 64 QualType CanonType = Context.getCanonicalType(Type); 98 QualType CanonBaseType = Context.getCanonicalType(Base->getType()); 126 InheritanceHierarchyWriter::WriteNodeReference(QualType Type, 128 QualType CanonTyp [all...] |
H A D | ASTContext.cpp | 465 QualType QT = TD->getUnderlyingType(); 491 QualType Ty = I->getType(); 507 QualType Ty = I->getType(); 559 QualType T = NTTP->getExpansionType(I); 602 QualType T = getCanonicalType(NTTP->getType()); 606 SmallVector<QualType, 2> ExpandedTypes; 732 NullTypeSourceInfo(QualType()), 904 R = CanQualType::CreateUnsafe(QualType(Ty, 0)); 1027 ObjCConstantStringType = QualType(); 1029 ObjCSuperType = QualType(); [all...] |
H A D | ASTDiagnostic.cpp | 25 // Returns a desugared version of the QualType, and marks ShouldAKA as true 27 static QualType Desugar(ASTContext &Context, QualType QT, bool &ShouldAKA) { 69 if (QualType(Ty,0) == Context.getObjCIdType() || 70 QualType(Ty,0) == Context.getObjCClassType() || 71 QualType(Ty,0) == Context.getObjCSelType() || 72 QualType(Ty,0) == Context.getObjCProtoType()) 76 if (QualType(Ty,0) == Context.getBuiltinVaListType()) 80 QualType Underlying; 157 ConvertTypeToDiagnosticString(ASTContext &Context, QualType T [all...] |
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | TypeLocBuilder.h | 38 QualType LastTy; 71 TypeSpecTypeLoc pushTypeSpec(QualType T) { 80 LastTy = QualType(); 88 void TypeWasModifiedSafely(QualType T) { 96 template <class TyLocType> TyLocType push(QualType T) { 104 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { 117 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) { 130 TypeLoc pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment); 141 TypeLoc getTemporaryTypeLoc(QualType T) {
|
H A D | TreeTransform.h | 202 bool AlreadyTransformed(QualType T) { 292 QualType TransformType(QualType T); 308 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL); 439 QualType ObjectType = QualType(), 474 QualType ObjectType = QualType(), 536 TypeSourceInfo *InventTypeSourceInfo(QualType T) { 543 QualType Transfor [all...] |
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastToStructChecker.cpp | 38 QualType OrigTy = Ctx.getCanonicalType(E->getType()); 39 QualType ToTy = Ctx.getCanonicalType(CE->getType()); 47 QualType OrigPointeeTy = OrigPTy->getPointeeType(); 48 QualType ToPointeeTy = ToPTy->getPointeeType();
|
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | Overload.h | 199 /// QualType. 204 /// into a QualType. 214 void setFromType(QualType T) { FromTypePtr = T.getAsOpaquePtr(); } 215 void setToType(unsigned Idx, QualType T) { 219 void setAllToTypes(QualType T) { 225 QualType getFromType() const { 226 return QualType::getFromOpaquePtr(FromTypePtr); 228 QualType getToType(unsigned Idx) const { 230 return QualType::getFromOpaquePtr(ToTypePtrs[Idx]); 242 QualType [all...] |
H A D | Initialization.h | 104 QualType Type; 168 InitializedEntity(EntityKind Kind, SourceLocation Loc, QualType Type, 186 InitializedEntity(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc) 209 QualType Type) { 226 QualType Type, 238 QualType Type, bool NRVO) { 243 QualType Type, bool NRVO) { 249 QualType Type, bool NRVO) { 254 static InitializedEntity InitializeNew(SourceLocation NewLoc, QualType Type) { 259 static InitializedEntity InitializeTemporary(QualType Typ [all...] |
H A D | LocInfoType.h | 23 /// \brief Holds a QualType and a TypeSourceInfo* that came out of a declarator 38 LocInfoType(QualType ty, TypeSourceInfo *TInfo) 49 QualType getType() const { return getCanonicalTypeInternal(); }
|
H A D | SemaFixItUtils.h | 77 const QualType FromQTy, const QualType ToQTy,
|
H A D | Sema.h | 150 class QualType; 231 typedef OpaquePtr<QualType> TypeTy; 480 QualType SavedCXXThisTypeOverride; 578 QualType NSNumberPointer; 587 QualType NSStringPointer; 605 QualType QIDNSCopying; 954 getFixItZeroInitializerForType(QualType T, SourceLocation Loc) const; 955 std::string getFixItZeroLiteralForType(QualType T, SourceLocation Loc) const; 1020 QualType BuildQualifiedType(QualType [all...] |
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 28 static bool isDispatchBlock(QualType Ty) { 51 BinaryOperator *makeAssignment(const Expr *LHS, const Expr *RHS, QualType Ty); 64 UnaryOperator *makeDereference(const Expr *Arg, QualType Ty); 67 Expr *makeIntegralCast(const Expr *Arg, QualType Ty); 73 ImplicitCastExpr *makeLvalueToRvalue(const Expr *Arg, QualType Ty); 87 QualType Ty) { 122 UnaryOperator *ASTMaker::makeDereference(const Expr *Arg, QualType Ty) { 127 ImplicitCastExpr *ASTMaker::makeLvalueToRvalue(const Expr *Arg, QualType Ty) { 132 Expr *ASTMaker::makeIntegralCast(const Expr *Arg, QualType Ty) { 146 QualType T [all...] |
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Serialization/ |
H A D | ASTDeserializationListener.h | 24 class QualType; 46 virtual void TypeRead(serialization::TypeIdx Idx, QualType T) { }
|
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 110 llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile Fg); 130 llvm::DIType CreateSelfType(const QualType &QualTy, llvm::DIType Ty); 131 llvm::DIType getTypeOrNull(const QualType); 132 llvm::DIType getCompletedTypeOrNull(const QualType); 136 QualType ThisPtr, const FunctionProtoType *Func, llvm::DIFile Unit); 137 llvm::DICompositeType getOrCreateFunctionType(const Decl *D, QualType FnType, 141 llvm::DIType getOrCreateTypeDeclaration(QualType PointeeTy, llvm::DIFile F); 143 const Type *Ty, QualType PointeeTy, 146 llvm::Value *getCachedInterfaceTypeOrNull(const QualType Ty); 173 llvm::DIType createFieldType(StringRef name, QualType typ [all...] |
H A D | CodeGenTBAA.h | 32 class QualType; 85 QualType Ty, 103 llvm::MDNode *getTBAAInfo(QualType QTy); 111 llvm::MDNode *getTBAAStructInfo(QualType QTy); 114 llvm::MDNode *getTBAAStructTypeInfo(QualType QType); 117 llvm::MDNode *getTBAAStructTagInfo(QualType BaseQType,
|