Searched refs:QualType (Results 1 - 25 of 284) sorted by relevance

1234567891011>>

/external/clang/include/clang/Analysis/DomainSpecific/
H A DCocoaConventions.h22 class QualType;
27 bool isRefType(QualType RetTy, StringRef Prefix,
30 bool isCocoaObjectRef(QualType T);
35 bool isCFObjectRef(QualType T);
/external/clang/include/clang/AST/
H A DTypeOrdering.h13 /// 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 DASTContext.h240 QualType ObjCIdRedefinitionType;
241 QualType ObjCClassRedefinitionType;
242 QualType ObjCSelRedefinitionType;
253 QualType ObjCConstantStringType;
256 mutable QualType ObjCSuperType;
258 QualType ObjCNSStringType;
585 QualType getIntTypeForBitwidth(unsigned DestWidth,
590 QualType getRealTypeForBitwidth(unsigned DestWidth) const;
909 mutable QualType AutoDeductTy; // Deduction against 'auto'.
910 mutable QualType AutoRRefDeductT
[all...]
H A DType.h46 class QualType;
72 struct isPodLike<clang::QualType> { static const bool value = true; };
329 // on a QualType object.
571 /// pointer. To handle the packing/unpacking, we make QualType be a
575 class QualType { class in namespace:clang
598 QualType() {} function in class:clang::QualType
600 QualType(const Type *Ptr, unsigned Quals) function in class:clang::QualType
602 QualType(const ExtQuals *Ptr, unsigned Quals) function in class:clang::QualType
619 /// Divides a QualType into its unqualified type and a set of local
624 static QualType getFromOpaquePt
[all...]
H A DNSAPI.h20 class QualType;
208 getNSNumberFactoryMethodKind(QualType T) const;
211 bool isObjCBOOLType(QualType T) const;
213 bool isObjCNSIntegerType(QualType T) const;
215 bool isObjCNSUIntegerType(QualType T) const;
218 StringRef GetNSIntegralKind(QualType T) const;
228 bool isObjCTypedef(QualType T, StringRef name, IdentifierInfo *&II) const;
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DDynamicTypeInfo.h21 QualType T;
26 DynamicTypeInfo() : T(QualType()) {}
27 DynamicTypeInfo(QualType WithType, bool CanBeSub = true)
34 QualType getType() const { return T; }
H A DSValBuilder.h48 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 DSymbolManager.h68 virtual QualType getType() const = 0;
144 QualType getType() const override;
156 QualType T;
163 QualType t, unsigned count,
173 QualType getType() const override;
178 QualType T, unsigned Count, const LocationContext *LCtx,
211 QualType getType() const override;
244 QualType getType() const override;
270 QualType T;
274 SymbolMetadata(SymbolID sym, const MemRegion* r, const Stmt *s, QualType
[all...]
H A DBasicValueFactory.h28 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 DStore.h61 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);
237 QualType pointeeT
[all...]
/external/clang/tools/libclang/
H A DCXType.h26 CXType MakeCXType(QualType T, CXTranslationUnit TU);
H A DCXType.cpp66 static CXTypeKind GetTypeKind(QualType T) {
101 CXType cxtype::MakeCXType(QualType T, CXTranslationUnit TU) {
112 QualType UnqualT = T.getUnqualifiedType();
136 static inline QualType GetQualType(CXType CT) {
137 return QualType::getFromOpaquePtr(CT.data[0]);
151 return MakeCXType(QualType(), TU);
155 QualType T = cxcursor::getCursorExpr(C)->getType();
162 return MakeCXType(QualType(), TU);
176 return MakeCXType(QualType(), TU);
182 QualType
[all...]
/external/clang/lib/AST/
H A DInheritViz.cpp37 std::map<QualType, int, QualTypeOrdering> DirectBaseCount;
38 std::set<QualType, QualTypeOrdering> KnownVirtualBases;
44 void WriteGraph(QualType Type) {
54 void WriteNode(QualType Type, bool FromVirtual);
59 raw_ostream& WriteNodeReference(QualType Type, bool FromVirtual);
63 void InheritanceHierarchyWriter::WriteNode(QualType Type, bool FromVirtual) {
64 QualType CanonType = Context.getCanonicalType(Type);
97 QualType CanonBaseType = Context.getCanonicalType(Base.getType());
125 InheritanceHierarchyWriter::WriteNodeReference(QualType Type,
127 QualType CanonTyp
[all...]
H A DType.cpp47 const IdentifierInfo* QualType::getBaseTypeIdentifier() const {
67 bool QualType::isConstant(QualType T, ASTContext &Ctx) {
78 QualType ElementType,
125 QualType et, QualType can,
138 QualType ET,
150 QualType ElementType,
151 QualType can,
167 QualType ElementTyp
[all...]
H A DASTContext.cpp481 QualType QT = TD->getUnderlyingType();
506 QualType Ty = I.getType();
521 QualType Ty = I.getType();
573 QualType T = NTTP->getExpansionType(I);
616 QualType T = getCanonicalType(NTTP->getType());
620 SmallVector<QualType, 2> ExpandedTypes;
949 TypedefDecl *ASTContext::buildImplicitTypedef(QualType T,
981 R = CanQualType::CreateUnsafe(QualType(Ty, 0));
1121 ObjCConstantStringType = QualType();
1123 ObjCSuperType = QualType();
[all...]
/external/clang/lib/CodeGen/
H A DABIInfo.h86 QualType Ty) const = 0;
92 QualType Ty) const;
94 virtual bool isHomogeneousAggregateBaseType(QualType Ty) const;
99 virtual bool shouldSignExtUnsignedType(QualType Ty) const;
101 bool isHomogeneousAggregate(QualType Ty, const Type *&Base,
107 getNaturalAlignIndirect(QualType Ty, bool ByRef = true,
112 getNaturalAlignIndirectInReg(QualType Ty, bool Realign = false) const;
H A DCGCXXABI.h66 llvm::Constant *GetBogusMemberPointer(QualType T);
81 virtual bool requiresArrayCookie(const CXXDeleteExpr *E, QualType eltType);
189 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
222 Address Ptr, QualType ElementType,
226 virtual llvm::GlobalVariable *getThrowInfo(QualType T) { return nullptr; }
239 virtual llvm::Constant *getAddrOfRTTIDescriptor(QualType Ty) = 0;
241 getAddrOfCXXCatchHandlerType(QualType Ty, QualType CatchHandlerType) = 0;
245 QualType SrcRecordTy) = 0;
247 virtual llvm::Value *EmitTypeid(CodeGenFunction &CGF, QualType SrcRecordT
[all...]
/external/clang/lib/Sema/
H A DTypeLocBuilder.h38 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) {
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp38 QualType OrigTy = Ctx.getCanonicalType(E->getType());
39 QualType ToTy = Ctx.getCanonicalType(CE->getType());
47 QualType OrigPointeeTy = OrigPTy->getPointeeType();
48 QualType ToPointeeTy = ToPTy->getPointeeType();
H A DDynamicTypeChecker.cpp62 void reportTypeError(QualType DynamicType, QualType StaticType,
71 void DynamicTypeChecker::reportTypeError(QualType DynamicType,
72 QualType StaticType,
80 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(),
83 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(),
124 QualType::print(TrackedType.getType().getTypePtr(), Qualifiers(), OS,
130 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(),
133 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS,
138 QualType
[all...]
/external/clang/include/clang/Sema/
H A DOverload.h188 /// QualType.
193 /// into a QualType.
203 void setFromType(QualType T) { FromTypePtr = T.getAsOpaquePtr(); }
204 void setToType(unsigned Idx, QualType T) {
208 void setAllToTypes(QualType T) {
214 QualType getFromType() const {
215 return QualType::getFromOpaquePtr(FromTypePtr);
217 QualType getToType(unsigned Idx) const {
219 return QualType::getFromOpaquePtr(ToTypePtrs[Idx]);
231 QualType
[all...]
H A DInitialization.h104 QualType Type;
171 InitializedEntity(EntityKind Kind, SourceLocation Loc, QualType Type,
189 InitializedEntity(IdentifierInfo *VarID, QualType FieldType, SourceLocation Loc)
213 QualType Type) {
230 QualType Type,
242 QualType Type, bool NRVO) {
247 QualType Type, bool NRVO) {
253 QualType Type, bool NRVO) {
258 static InitializedEntity InitializeNew(SourceLocation NewLoc, QualType Type) {
263 static InitializedEntity InitializeTemporary(QualType Typ
[all...]
H A DLocInfoType.h23 /// \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 DSemaFixItUtils.h77 const QualType FromQTy, const QualType ToQTy,
/external/clang/include/clang/Serialization/
H A DASTDeserializationListener.h25 class QualType;
45 virtual void TypeRead(serialization::TypeIdx Idx, QualType T) { }

Completed in 1744 milliseconds

1234567891011>>