Home
last modified time | relevance | path

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

12

/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp236 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl())) in getObjectTypeForAllocAndNew()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGCXXABI.cpp136 MD->getParent()->getTypeForDecl())); in EmitMemberPointer()
H A DCGDebugInfo.cpp1908 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
1909 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
1910 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateEnumType()
1939 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
1940 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
1941 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateTypeDefinition()
2279 getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
2513 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
3246 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
3247 Ty = getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()
H A DCodeGenTypes.cpp244 if (TypeCache.count(ED->getTypeForDecl())) { in UpdateCompletedType()
H A DMicrosoftCXXABI.cpp628 getContext().getTypeSize(RD->getTypeForDecl()) > 64) in getRecordArgABI()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclTemplate.cpp499 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getDepth(); in getDepth()
503 return getTypeForDecl()->getAs<TemplateTypeParmType>()->getIndex(); in getIndex()
507 return getTypeForDecl()->getAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
H A DDeclBase.cpp933 if (const TagType *TagTy = dyn_cast<TagType>(Tag->getTypeForDecl())) { in getPrimaryContext()
939 assert(isa<InjectedClassNameType>(Tag->getTypeForDecl())); in getPrimaryContext()
H A DDecl.cpp3358 if (const Type *T = getTypeForDecl()) { in setTypedefNameForAnonDecl()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDataRecursiveASTVisitor.h1537 if (D->getTypeForDecl())
1538 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
1572 if (D->getTypeForDecl())
1573 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
H A DRecursiveASTVisitor.h1571 if (D->getTypeForDecl())
1572 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
1606 if (D->getTypeForDecl())
1607 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
H A DDeclTemplate.h1784 assert(getTypeForDecl() && "partial specialization has no type set!");
1785 return cast<InjectedClassNameType>(getTypeForDecl())
H A DDeclObjC.h1363 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() function
H A DDecl.h2465 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() function
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp224 const Type *T = D->getTypeForDecl(); in getCXXThis()
H A DMemRegion.cpp241 return QualType(getDecl()->getTypeForDecl(), 0); in getValueType()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaStmtAsm.cpp570 RT = TD->getTypeForDecl()->getAs<RecordType>(); in LookupInlineAsmField()
H A DSemaCXXScopeSpec.cpp756 << QualType(TD->getTypeForDecl(), 0) << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier()
H A DSemaAccess.cpp1858 QualType qType = Class->getTypeForDecl()->getCanonicalTypeInternal(); in IsSimplyAccessible()
H A DSemaLookup.cpp3753 RD->getTypeForDecl()); in buildNestedNameSpecifier()
H A DSemaTemplateInstantiateDecl.cpp1869 assert(D->getTypeForDecl()->isTemplateTypeParmType()); in VisitTemplateTypeParmDecl()
H A DSemaTemplateDeduction.cpp4013 QualType TemplArg = QualType(TemplParam->getTypeForDecl(), 0); in DeduceAutoType()
H A DSemaType.cpp1029 Result = QualType(CorrespondingTemplateParam->getTypeForDecl(), 0); in ConvertDeclSpecToType()
H A DSemaDeclCXX.cpp3115 QualType(ClassDecl->getTypeForDecl(), 0)); in BuildDelegatingInitializer()
3193 if (Context.hasSameUnqualifiedType(QualType(ClassDecl->getTypeForDecl(),0), in BuildBaseInitializer()
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTWriterDecl.cpp213 Writer.AddTypeRef(QualType(D->getTypeForDecl(), 0), Record); in VisitTypeDecl()
520 Writer.AddTypeRef(QualType(D->getTypeForDecl(), 0), Record); in VisitObjCInterfaceDecl()
H A DASTReader.cpp5533 if (const Type *Existing = DI->getTypeForDecl()) { in readTypeRecord()
8308 if (const TagType *TagT = dyn_cast<TagType>(TD->getTypeForDecl())) { in finishPendingActions()

12