/external/clang/include/clang/AST/ |
D | TypeLoc.h | 108 const Type *getTypePtr() const { in getTypePtr() function 109 return QualType::getFromOpaquePtr(Ty).getTypePtr(); in getTypePtr() 209 const Type *getTypePtr() const { in getTypePtr() function 214 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass() 237 TypeLoc::getLocalAlignmentForType(QualType(getTypePtr(), 0)); in getUnqualifiedLoc() 240 return UnqualTypeLoc(getTypePtr(), reinterpret_cast<void*>(dataInt)); in getUnqualifiedLoc() 319 Derived::classofType(TL.getTypePtr()); in isKind() 343 const TypeClass *getTypePtr() const { in getTypePtr() function 344 return cast<TypeClass>(Base::getTypePtr()); in getTypePtr() 430 Derived::classofType(TL.getTypePtr()); in isKind() [all …]
|
D | CanonicalType.h | 71 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); } in getTypePtr() function 217 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \ 221 Type Accessor() const { return this->getTypePtr()->Accessor(); } 232 const T *getTypePtr() const { return Stored.getTypePtr(); } in getTypePtr() function 357 return Val.getTypePtr(); 562 return CanQualType::CreateUnsafe(this->getTypePtr()->getArgType(i)); 572 return arg_type_iterator(this->getTypePtr()->arg_type_begin()); 576 return arg_type_iterator(this->getTypePtr()->arg_type_end()); 694 assert((Other.isNull() || isa<T>(Other.getTypePtr())) && 710 if (isa<U>(Stored.getTypePtr())) [all …]
|
D | RecursiveASTVisitor.h | 596 const_cast<Type*>(T.getTypePtr())); in TraverseType() 998 if (T->getBaseType().getTypePtr() != T) 1023 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE*>(TL.getTypePtr()))); \ 1054 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); 1077 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0))); 1115 if (TL.getTypePtr()->getSizeExpr()) 1116 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr())); 1117 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); 1122 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); 1128 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); [all …]
|
D | Type.h | 570 const Type *getTypePtr() const; 589 return *getTypePtr(); 593 return getTypePtr(); 770 QualType getLocalUnqualifiedType() const { return QualType(getTypePtr(), 0); } 1004 return Val.getTypePtr(); 3852 return cast<TemplateSpecializationType>(InjectedType.getTypePtr()); 4611 inline const Type *QualType::getTypePtr() const { 4656 return getTypePtr()->isCanonicalUnqualified(); 4663 const Type *T = getTypePtr(); 4692 if (!getTypePtr()->getCanonicalTypeInternal().hasLocalQualifiers()) [all …]
|
/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 | 137 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc() 183 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc() 250 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec() 319 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal() 327 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal() 336 if (getTypePtr()->getQualifier()) { in initializeLocal() 338 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal() 348 getTypePtr()->getArgs(), in initializeLocal()
|
D | Type.cpp | 47 const Type* ty = getTypePtr(); in getBaseTypeIdentifier() 201 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual() 210 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual() 325 Cur = Ty->desugar().getTypePtr(); \ in getAsSugar() 354 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType() 552 return Visit(T.getTypePtr()); in Visit() 831 const Type *T = CanonicalType.getTypePtr(); in getScalarTypeKind() 980 QualType CanonicalType = getTypePtr()->CanonicalType; in isCXX98PODType() 1044 QualType CanonicalType = getTypePtr()->CanonicalType; in isTrivialType() 1233 const Type *ty = getTypePtr(); in isCXX11PODType() [all …]
|
/external/chromium_org/ppapi/tests/clang/ |
D | find_affected_interfaces.cc | 57 iter->second = IsAffected(*pointer_type->getPointeeType().getTypePtr()); in IsAffected() 62 iter->second = IsAffected(*func_type->getResultType().getTypePtr()); in IsAffected() 69 iter->second = IsAffected(*(arg_iter->getTypePtr())); in IsAffected() 80 iter->second = IsAffected(*(field_iter->getType().getTypePtr())); in IsAffected() 111 clang::Type* type = td->getUnderlyingType().getTypePtr(); in HandleTopLevelDecl()
|
D | print_names_and_sizes.cc | 74 return HasArchDependentSize(*(array->getElementType().getTypePtr())); in HasArchDependentSize() 77 return HasArchDependentSize(*(typedef_type->desugar().getTypePtr())); in HasArchDependentSize() 86 if (HasArchDependentSize(*(iter->getType().getTypePtr()))) { in HasArchDependentSize() 138 clang::Type* type = td->getUnderlyingType().getTypePtr(); in HandleTopLevelDecl()
|
/external/chromium_org/tools/clang/plugins/ |
D | FindBadConstructs.cpp | 72 return UnwrapType(elaborated->getNamedType().getTypePtr()); in UnwrapType() 74 return UnwrapType(typedefed->desugar().getTypePtr()); in UnwrapType() 196 CountType(it->getType().getTypePtr(), in CheckCtorDtorWeight() 356 it->getTypeSourceInfo()->getTypeLoc().getTypePtr()-> in CheckVirtualMethods() 415 dyn_cast<ElaboratedType>(type)->getNamedType().getTypePtr(), in CountType() 421 type = TT->getDecl()->getUnderlyingType().getTypePtr(); in CountType() 476 UnwrapType(base->getType().getTypePtr())); in IsRefCountedCallback() 666 iter->getType().getTypePtr()->getAs<TemplateSpecializationType>(); in CheckWeakPtrFactoryMembers() 674 if (arg.getAsType().getTypePtr()->getAsCXXRecordDecl() == in CheckWeakPtrFactoryMembers()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
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 | 48 const Type *TP = T.getTypePtr(); in hasPointerToPointerSizedType() 59 return isPointerSize(PointeeT.getTypePtr()); in hasPointerToPointerSizedType()
|
D | MallocSizeofChecker.cpp | 145 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
|
D | CastSizeChecker.cpp | 36 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
|
D | GenericTaintChecker.cpp | 163 (E->getType().getTypePtr()->isPointerType() && in isTaintedOrPointsToTainted() 439 dyn_cast<PointerType>(Arg->getType().getCanonicalType().getTypePtr()); in getPointedToSymbol() 490 const Type *ArgTy = Arg->getType().getTypePtr(); in process() 600 dyn_cast<PointerType>(D->getType().getTypePtr())) in isStdin()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 103 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo() 222 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo() 251 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo() 297 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
|
D | CodeGenTypes.cpp | 123 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert() 261 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType() 296 const Type *Ty = T.getTypePtr(); in ConvertType() 629 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType() 692 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
|
D | CGCall.h | 153 return forPrototype(prototype.getTypePtr()); in forPrototype() 158 return forPrototypePlus(prototype.getTypePtr(), additional); in forPrototypePlus()
|
/external/clang/tools/libclang/ |
D | RecursiveASTVisitor.h | 529 const_cast<Type*>(T.getTypePtr())); in TraverseType() 922 if (T->getBaseType().getTypePtr() != T) 947 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE*>(TL.getTypePtr()))); \ 978 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); 1001 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0))); 1039 if (TL.getTypePtr()->getSizeExpr()) 1040 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr())); 1041 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); 1046 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); 1052 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); [all …]
|
D | IndexTypeSourceInfo.cpp | 74 if (const TemplateSpecializationType *T = TL.getTypePtr()) { in VisitTemplateSpecializationTypeLoc()
|
/external/clang/lib/Serialization/ |
D | ASTCommon.h | 47 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID()
|
/external/clang/lib/Analysis/ |
D | CocoaConventions.cpp | 28 while (const TypedefType *TD = dyn_cast<TypedefType>(RetTy.getTypePtr())) { in isRefType()
|
D | PseudoConstantAnalysis.cpp | 182 if (!VD->getType().getTypePtr()->isReferenceType()) in RunAnalysis()
|
/external/clang/lib/ARCMigrate/ |
D | TransBlockObjCVariable.cpp | 107 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 357 const Type *TypeNode = DeclNode->getUnderlyingType().getTypePtr(); in VisitTypedefNameDecl() 657 return getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr()); in getAsCXXRecordDecl() 672 const Type *TypeNode = It->getType().getTypePtr(); in classIsDerivedFrom()
|