Home
last modified time | relevance | path

Searched refs:getTypePtr (Results 1 – 25 of 82) sorted by relevance

1234

/external/clang/include/clang/AST/
DTypeLoc.h111 const Type *getTypePtr() const { in getTypePtr() function
112 return QualType::getFromOpaquePtr(Ty).getTypePtr(); in getTypePtr()
227 const Type *getTypePtr() const { in getTypePtr() function
232 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass()
255 TypeLoc::getLocalAlignmentForType(QualType(getTypePtr(), 0)); in getUnqualifiedLoc()
258 return UnqualTypeLoc(getTypePtr(), reinterpret_cast<void*>(dataInt)); in getUnqualifiedLoc()
341 Derived::classofType(TL.getTypePtr()); in isKind()
379 const TypeClass *getTypePtr() const { in getTypePtr() function
380 return cast<TypeClass>(Base::getTypePtr()); in getTypePtr()
466 Derived::classofType(TL.getTypePtr()); in isKind()
[all …]
DCanonicalType.h70 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); } in getTypePtr() function
216 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
220 Type Accessor() const { return this->getTypePtr()->Accessor(); }
231 const T *getTypePtr() const { return Stored.getTypePtr(); } in getTypePtr() function
356 return Val.getTypePtr();
488 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
498 return param_type_iterator(this->getTypePtr()->param_type_begin());
502 return param_type_iterator(this->getTypePtr()->param_type_end());
620 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
636 if (isa<U>(Stored.getTypePtr()))
[all …]
DRecursiveASTVisitor.h580 DISPATCH(CLASS##Type, CLASS##Type, const_cast<Type *>(T.getTypePtr()));
969 if (T->getBaseType().getTypePtr() != T)
994 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
1025 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1044 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
1084 if (TL.getTypePtr()->getSizeExpr())
1085 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1086 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1091 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1097 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
[all …]
DType.h612 const Type *getTypePtr() const;
631 return *getTypePtr();
635 return getTypePtr();
808 QualType getLocalUnqualifiedType() const { return QualType(getTypePtr(), 0); }
1086 return Val.getTypePtr();
4159 return cast<TemplateSpecializationType>(InjectedType.getTypePtr());
5053 inline const Type *QualType::getTypePtr() const {
5098 return getTypePtr()->isCanonicalUnqualified();
5105 const Type *T = getTypePtr();
5134 if (!getTypePtr()->getCanonicalTypeInternal().hasLocalQualifiers())
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypeChecker.cpp80 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
83 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
124 QualType::print(TrackedType.getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
130 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
133 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
138 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
141 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
DCastToStructChecker.cpp41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in checkPreStmt()
42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
DObjCContainersASTChecker.cpp49 const Type *TP = T.getTypePtr(); in hasPointerToPointerSizedType()
60 return isPointerSize(PointeeT.getTypePtr()); in hasPointerToPointerSizedType()
DMallocSizeofChecker.cpp147 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
DGenericTaintChecker.cpp162 (E->getType().getTypePtr()->isPointerType() && in isTaintedOrPointsToTainted()
438 dyn_cast<PointerType>(Arg->getType().getCanonicalType().getTypePtr()); in getPointedToSymbol()
489 const Type *ArgTy = Arg->getType().getTypePtr(); in process()
599 dyn_cast<PointerType>(D->getType().getTypePtr())) in isStdin()
DDynamicTypePropagation.cpp907 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
910 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
915 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
918 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
DCastSizeChecker.cpp95 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
/external/clang/lib/AST/
DStmtIterator.cpp27 t = vt->getElementType().getTypePtr(); in FindVA()
37 p = FindVA(p->getElementType().getTypePtr()); in NextVA()
72 if (const VariableArrayType* VAPtr = FindVA(VD->getType().getTypePtr())) { in HandleDecl()
82 FindVA(TD->getUnderlyingType().getTypePtr())) { in HandleDecl()
DTypeLoc.cpp179 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc()
225 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc()
292 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
408 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal()
428 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
436 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
445 if (getTypePtr()->getQualifier()) { in initializeLocal()
447 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
457 getTypePtr()->getArgs(), in initializeLocal()
DType.cpp48 const Type* ty = getTypePtr(); in getBaseTypeIdentifier()
194 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
203 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
318 Cur = Ty->desugar().getTypePtr(); \ in getAsSugar()
351 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType()
530 if (next.getTypePtr() == cur) return false; in isObjCInertUnsafeUnretainedType()
531 cur = next.getTypePtr(); in isObjCInertUnsafeUnretainedType()
1543 return Visit(T.getTypePtr()); in Visit()
1826 const Type *T = CanonicalType.getTypePtr(); in getScalarTypeKind()
1997 QualType CanonicalType = getTypePtr()->CanonicalType; in isCXX98PODType()
[all …]
/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp79 if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr())) in VisitTypeDecl()
86 if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr())) in VisitObjCInterfaceDecl()
103 if (CanRepresent(FnTy.getTypePtr())) in VisitFunctionDecl()
122 if (CanRepresent(FnTy.getTypePtr())) in VisitObjCMethodDecl()
DCodeGenTBAA.cpp98 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo()
213 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
242 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo()
294 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
DCodeGenTypes.cpp120 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
266 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
300 const Type *Ty = QFT.getTypePtr(); in ConvertFunctionType()
301 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionType()
371 const Type *Ty = T.getTypePtr(); in ConvertType()
651 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
714 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp53 llvm::dyn_cast_or_null<FunctionType>(Target->getType().getTypePtr()); in GetSignature()
66 dyn_cast_or_null<FunctionProtoType>(Target->getType().getTypePtr())) { in GetSignature()
/external/clang/lib/Serialization/
DASTCommon.h58 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID()
/external/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp106 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp181 if (!VD->getType().getTypePtr()->isReferenceType()) in RunAnalysis()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h313 return forPrototype(prototype.getTypePtr()); in forPrototype()
318 return forPrototypePlus(prototype.getTypePtr(), additional); in forPrototypePlus()
/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp74 if (const TemplateSpecializationType *T = TL.getTypePtr()) { in VisitTemplateSpecializationTypeLoc()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp361 const Type *TypeNode = DeclNode->getUnderlyingType().getTypePtr(); in VisitTypedefNameDecl()
786 return getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr()); in getAsCXXRecordDecl()
798 const Type *TypeNode = It.getType().getTypePtr(); in classIsDerivedFrom()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp54 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc()
55 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
894 NumExpansions = Expansion.getTypePtr()->getNumExpansions(); in getTemplateArgumentPackExpansionPattern()

1234