HomeSort by relevance Sort by last modified time
    Searched refs:QualType (Results 1 - 25 of 266) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/clang/include/clang/Analysis/DomainSpecific/
CocoaConventions.h 22 class QualType;
27 bool isRefType(QualType RetTy, StringRef Prefix,
30 bool isCocoaObjectRef(QualType T);
35 bool isCFObjectRef(QualType T);
  /external/clang/include/clang/AST/
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...]
ASTContext.h 225 QualType ObjCIdRedefinitionType;
226 QualType ObjCClassRedefinitionType;
227 QualType ObjCSelRedefinitionType;
229 QualType ObjCConstantStringType;
232 mutable QualType ObjCSuperType;
234 QualType ObjCNSStringType;
765 mutable QualType AutoDeductTy; // Deduction against 'auto'.
766 mutable QualType AutoRRefDeductTy; // Deduction against 'auto &&'.
770 mutable QualType VaListTagTy;
822 QualType getExtQualType(const Type *Base, Qualifiers Quals) const
    [all...]
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 {
556 QualType() {}
558 QualType(const Type *Ptr, unsigned Quals)
560 QualType(const ExtQuals *Ptr, unsigned Quals)
577 /// Divides a QualType into its unqualified type and a set of loca
    [all...]
ASTMutationListener.h 30 class QualType;
69 virtual void DeducedReturnType(const FunctionDecl *FD, QualType ReturnType);
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DynamicTypeInfo.h 21 QualType T;
26 DynamicTypeInfo() : T(QualType()) {}
27 DynamicTypeInfo(QualType WithType, bool CanBeSub = true)
34 QualType getType() const { return T; }
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 resultTy) = 0
    [all...]
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 t
    [all...]
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 T)
    [all...]
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);
243 QualType pointeeTy, uint64_t index = 0)
    [all...]
  /external/clang/tools/libclang/
CXType.h 26 CXType MakeCXType(QualType T, CXTranslationUnit TU);
CXType.cpp 66 static CXTypeKind GetTypeKind(QualType T) {
99 CXType cxtype::MakeCXType(QualType T, CXTranslationUnit TU) {
105 QualType UnqualT = T.getUnqualifiedType();
123 static inline QualType GetQualType(CXType CT) {
124 return QualType::getFromOpaquePtr(CT.data[0]);
138 return MakeCXType(QualType(), TU);
142 QualType T = cxcursor::getCursorExpr(C)->getType();
149 return MakeCXType(QualType(), TU);
169 return MakeCXType(QualType(), TU);
175 QualType
    [all...]
  /external/clang/lib/AST/
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 CanonType = Context.getCanonicalType(Type)
    [all...]
ASTContext.cpp 463 QualType QT = TD->getUnderlyingType();
489 QualType Ty = I->getType();
505 QualType Ty = I->getType();
557 QualType T = NTTP->getExpansionType(I);
600 QualType T = getCanonicalType(NTTP->getType());
604 SmallVector<QualType, 2> ExpandedTypes;
717 NullTypeSourceInfo(QualType()),
    [all...]
  /external/clang/lib/Sema/
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) {
  /external/clang/include/clang/Sema/
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(); }
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 &ConstantType) const
    [all...]
Initialization.h 100 QualType Type;
164 InitializedEntity(EntityKind Kind, SourceLocation Loc, QualType Type,
205 QualType Type) {
222 QualType Type,
234 QualType Type, bool NRVO) {
239 QualType Type, bool NRVO) {
245 QualType Type, bool NRVO) {
250 static InitializedEntity InitializeNew(SourceLocation NewLoc, QualType Type) {
255 static InitializedEntity InitializeTemporary(QualType Type) {
271 QualType Type)
    [all...]
SemaFixItUtils.h 77 const QualType FromQTy, const QualType ToQTy,
Sema.h 150 class QualType;
231 typedef OpaquePtr<QualType> TypeTy;
475 QualType SavedCXXThisTypeOverride;
573 QualType NSNumberPointer;
582 QualType NSStringPointer;
600 QualType QIDNSCopying;
    [all...]
  /external/clang/include/clang/Serialization/
ASTDeserializationListener.h 24 class QualType;
46 virtual void TypeRead(serialization::TypeIdx Idx, QualType T) { }
  /external/clang/lib/StaticAnalyzer/Checkers/
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();
  /external/clang/lib/Analysis/
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 Ty = C.getBOOLDecl() ? C.getBOOLType() : C.ObjCBuiltinBoolTy
    [all...]
  /external/clang/lib/CodeGen/
CodeGenTypes.h 45 class QualType;
125 llvm::Type *ConvertType(QualType T);
131 llvm::Type *ConvertTypeForMem(QualType T);
142 bool isFuncTypeArgumentConvertible(QualType Ty);
181 const CGFunctionInfo &arrangeFunctionDeclaration(QualType ResTy,
188 QualType receiverType);
199 const CGFunctionInfo &arrangeFreeFunctionCall(QualType ResTy,
243 void GetExpandedTypes(QualType type,
248 bool isZeroInitializable(QualType T);
CGDebugInfo.h 110 llvm::DIType CreateQualifiedType(QualType Ty, llvm::DIFile F, bool Declaration);
128 llvm::DIType CreateSelfType(const QualType &QualTy, llvm::DIType Ty);
129 llvm::DIType getTypeOrNull(const QualType);
130 llvm::DIType getCompletedTypeOrNull(const QualType);
134 QualType ThisPtr, const FunctionProtoType *Func, llvm::DIFile Unit);
135 llvm::DICompositeType getOrCreateFunctionType(const Decl *D, QualType FnType,
139 llvm::DIType getOrCreateTypeDeclaration(QualType PointeeTy, llvm::DIFile F);
141 const Type *Ty, QualType PointeeTy,
144 llvm::Value *getCachedInterfaceTypeOrNull(const QualType Ty);
176 llvm::DIType createFieldType(StringRef name, QualType type
    [all...]

Completed in 4876 milliseconds

1 2 3 4 5 6 7 8 91011