Home
last modified time | relevance | path

Searched refs:getTypeForDecl (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/ppapi/tests/clang/
Dprint_names_and_sizes.cc130 clang::Type* type = type_decl->getTypeForDecl(); in HandleTopLevelDecl()
Dfind_affected_interfaces.cc104 clang::Type* type = type_decl->getTypeForDecl(); in HandleTopLevelDecl()
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp236 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl())) in getObjectTypeForAllocAndNew()
/external/clang/lib/CodeGen/
DCGCXXABI.cpp102 MD->getParent()->getTypeForDecl())); in EmitMemberPointer()
DCGDebugInfo.cpp1238 ->getTypeForDecl()) in CollectTemplateParams()
1808 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
1809 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
1810 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateEnumType()
2242 getOrCreateType(QualType(PBase->getTypeForDecl(), 0), DefUnit)); in CreateLimitedType()
2374 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
3115 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
3116 Ty = getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()
DCodeGenTypes.cpp244 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
/external/clang/tools/libclang/
DRecursiveASTVisitor.h1530 if (D->getTypeForDecl())
1531 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
1565 if (D->getTypeForDecl())
1566 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
/external/clang/lib/AST/
DDumpXML.cpp551 setPointer("typeptr", D->getTypeForDecl()); in visitTypeDeclAttrs()
752 setPointer("typeptr", D->getTypeForDecl()); in visitObjCInterfaceDeclAttrs()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h1613 if (D->getTypeForDecl())
1614 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
1648 if (D->getTypeForDecl())
1649 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
DDeclTemplate.h1796 assert(getTypeForDecl() && "partial specialization has no type set!");
1797 return cast<InjectedClassNameType>(getTypeForDecl())
DDeclObjC.h1214 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() function
DDecl.h2306 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() function
/external/chromium_org/tools/clang/plugins/
DFindBadConstructs.cpp675 record->getTypeForDecl()->getAsCXXRecordDecl()) { in CheckWeakPtrFactoryMembers()
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp222 const Type *T = D->getTypeForDecl(); in getCXXThis()
DMemRegion.cpp241 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp185 Writer.AddTypeRef(QualType(D->getTypeForDecl(), 0), Record); in VisitTypeDecl()
479 Writer.AddTypeRef(QualType(D->getTypeForDecl(), 0), Record); in VisitObjCInterfaceDecl()
/external/clang/lib/Sema/
DSemaAccess.cpp1874 QualType qType = Class->getTypeForDecl()->getCanonicalTypeInternal(); in IsSimplyAccessible()
DSemaTemplateInstantiateDecl.cpp1745 assert(D->getTypeForDecl()->isTemplateTypeParmType()); in VisitTemplateTypeParmDecl()
DSemaTemplateDeduction.cpp3845 QualType TemplArg = QualType(TemplParam->getTypeForDecl(), 0); in DeduceAutoType()
DSemaDeclCXX.cpp2635 QualType(ClassDecl->getTypeForDecl(), 0)); in BuildDelegatingInitializer()
2713 if (Context.hasSameUnqualifiedType(QualType(ClassDecl->getTypeForDecl(),0), in BuildBaseInitializer()
DSemaOverload.cpp8534 QualType NonCanonParam = Qs.apply(S.Context, TParam->getTypeForDecl()); in DiagnoseBadDeduction()