/external/clang/include/clang/AST/ |
D | TypeLoc.h | 111 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 …]
|
D | CanonicalType.h | 70 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(); 491 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i)); 501 return param_type_iterator(this->getTypePtr()->param_type_begin()); 505 return param_type_iterator(this->getTypePtr()->param_type_end()); 623 assert((Other.isNull() || isa<T>(Other.getTypePtr())) && 639 if (isa<U>(Stored.getTypePtr())) [all …]
|
D | RecursiveASTVisitor.h | 639 DISPATCH(CLASS##Type, CLASS##Type, const_cast<Type *>(T.getTypePtr())); 1042 if (T->getBaseType().getTypePtr() != T) 1069 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \ 1100 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); 1119 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0))); 1159 if (TL.getTypePtr()->getSizeExpr()) 1160 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr())); 1161 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); 1166 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); 1172 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); [all …]
|
D | Type.h | 635 const Type *getTypePtr() const; 654 return *getTypePtr(); 658 return getTypePtr(); 831 QualType getLocalUnqualifiedType() const { return QualType(getTypePtr(), 0); } 1118 return Val.getTypePtr(); 4331 return cast<TemplateSpecializationType>(InjectedType.getTypePtr()); 5262 inline const Type *QualType::getTypePtr() const { 5307 return getTypePtr()->isCanonicalUnqualified(); 5314 const Type *T = getTypePtr(); 5343 if (!getTypePtr()->getCanonicalTypeInternal().hasLocalQualifiers()) [all …]
|
/external/clang/lib/Tooling/Core/ |
D | QualTypeNames.cpp | 163 return QT.getTypePtr(); in getFullyQualifiedTemplateType() 195 return QT.getTypePtr(); in getFullyQualifiedTemplateType() 388 if (isa<PointerType>(QT.getTypePtr())) { in getFullyQualifiedType() 400 if (isa<ReferenceType>(QT.getTypePtr())) { in getFullyQualifiedType() 402 bool IsLValueRefTy = isa<LValueReferenceType>(QT.getTypePtr()); in getFullyQualifiedType() 420 while (isa<SubstTemplateTypeParmType>(QT.getTypePtr())) { in getFullyQualifiedType() 424 QT = dyn_cast<SubstTemplateTypeParmType>(QT.getTypePtr())->desugar(); in getFullyQualifiedType() 435 QT = QualType(QT.getTypePtr(), 0); in getFullyQualifiedType() 437 if (const auto *ETypeInput = dyn_cast<ElaboratedType>(QT.getTypePtr())) { in getFullyQualifiedType() 443 Prefix = createNestedNameSpecifierForScopeOf(Ctx, QT.getTypePtr(), in getFullyQualifiedType() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DynamicTypeChecker.cpp | 80 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()
|
D | CastToStructChecker.cpp | 41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in checkPreStmt() 42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
|
D | ObjCContainersASTChecker.cpp | 49 const Type *TP = T.getTypePtr(); in hasPointerToPointerSizedType() 60 return isPointerSize(PointeeT.getTypePtr()); in hasPointerToPointerSizedType()
|
D | MallocSizeofChecker.cpp | 147 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
|
D | GenericTaintChecker.cpp | 162 (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()
|
D | DynamicTypePropagation.cpp | 931 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode() 934 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode() 939 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode() 942 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
|
D | CastSizeChecker.cpp | 92 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
|
/external/clang/lib/AST/ |
D | StmtIterator.cpp | 27 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()
|
D | TypeLoc.cpp | 179 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc() 225 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc() 292 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec() 400 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal() 420 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal() 428 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal() 437 if (getTypePtr()->getQualifier()) { in initializeLocal() 439 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal() 449 getTypePtr()->getArgs(), in initializeLocal()
|
D | Type.cpp | 48 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() 1278 if (auto AT = getTypePtr()->getAs<AtomicType>()) in getAtomicUnqualifiedType() 1549 return Visit(T.getTypePtr()); in Visit() 1832 const Type *T = CanonicalType.getTypePtr(); in getScalarTypeKind() [all …]
|
/external/v8/tools/clang/plugins/ |
D | FindBadConstructsConsumer.cpp | 25 return UnwrapType(elaborated->getNamedType().getTypePtr()); in UnwrapType() 27 return UnwrapType(typedefed->desugar().getTypePtr()); in UnwrapType() 61 .getTypePtr() in IsGmockObject() 381 CountType(it->getType().getTypePtr(), in CheckCtorDtorWeight() 708 CountType(dyn_cast<ElaboratedType>(type)->getNamedType().getTypePtr(), in CountType() 723 type = decl->getUnderlyingType().getTypePtr(); in CountType() 773 UnwrapType(base->getType().getTypePtr())); in IsRefCounted() 967 iter->getType().getTypePtr()->getAs<TemplateSpecializationType>(); in CheckWeakPtrFactoryMembers() 978 if (arg.getAsType().getTypePtr()->getAsCXXRecordDecl() == in CheckWeakPtrFactoryMembers()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 120 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert() 266 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType() 279 const Type *Ty = T.getTypePtr(); in RefreshTypeCacheForClass() 311 const Type *Ty = QFT.getTypePtr(); in ConvertFunctionType() 312 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionType() 382 const Type *Ty = T.getTypePtr(); in ConvertType() 661 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType() 724 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
|
D | CodeGenTBAA.cpp | 102 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo() 217 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo() 246 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo() 298 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
|
D | ObjectFilePCHContainerOperations.cpp | 89 if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr())) in VisitTypeDecl() 96 if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr())) in VisitObjCInterfaceDecl() 113 if (CanRepresent(FnTy.getTypePtr())) in VisitFunctionDecl() 132 if (CanRepresent(FnTy.getTypePtr())) in VisitObjCMethodDecl()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | IssueHash.cpp | 53 llvm::dyn_cast_or_null<FunctionType>(Target->getType().getTypePtr()); in GetSignature() 66 dyn_cast_or_null<FunctionProtoType>(Target->getType().getTypePtr())) { in GetSignature()
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | Config.h | 193 formal_type.getTypePtr())) { in IsVisitorDispatcherType() 200 formal_type.getTypePtr())) { in IsVisitorDispatcherType()
|
/external/clang/lib/Serialization/ |
D | ASTCommon.h | 60 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID()
|
/external/v8/tools/clang/base_bind_rewriters/ |
D | BaseBindRewriters.cpp | 83 auto* param_type = passed_decl->getParamDecl(0)->getType().getTypePtr(); in run() 209 clang::dyn_cast<clang::LValueReferenceType>(qual_type.getTypePtr()); in run() 416 auto* type = qual_type.getTypePtr(); in run()
|
/external/clang/lib/ARCMigrate/ |
D | TransBlockObjCVariable.cpp | 106 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
|
/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 179 if (!VD->getType().getTypePtr()->isReferenceType()) in RunAnalysis()
|