Home
last modified time | relevance | path

Searched refs:getTypeForDecl (Results 1 – 25 of 883) sorted by path

12345678910>>...36

/dports/devel/creduce/creduce-2.10.0/clang_delta/
H A DReduceClassTemplateParameter.cpp425 const Type *ParmTy = TypeD->getTypeForDecl(); in removeOneParameterByArgType()
H A DRemoveBaseClass.cpp225 const Type *Ty = TheBaseClass->getTypeForDecl(); in isTheBaseClass()
278 TheBaseClass->getTypeForDecl()->getCanonicalTypeInternal())) { in rewriteOneCtor()
H A DSimplifyDependentTypedef.cpp189 dyn_cast<TemplateTypeParmType>(TmplTypeParmD->getTypeForDecl()); in handleOneTypedefDecl()
/dports/devel/include-what-you-use/include-what-you-use-clang_11/
H A Diwyu.cc3084 const Type* typedef_type = typedef_decl->getTypeForDecl(); in AnalyzeTemplateTypeParmUse()
H A Diwyu_ast_util.cc1131 return decl->getTypeForDecl(); in GetTypeOf()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clang-tidy/bugprone/
H A DForwardDeclarationNamespaceCheck.cpp126 if (FriendTypes.count(CurDecl->getTypeForDecl()) != 0) { in onEndOfTranslationUnit()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clangd/
H A DAST.cpp120 TD->getTypeForDecl()); in getQualification()
H A DHover.cpp677 if (auto Size = Ctx.getTypeSizeInCharsIfKnown(RD->getTypeForDecl())) in addLayoutInfo()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/include/clang/AST/
H A DASTNodeTraverser.h579 Visit(TD->getTypeForDecl()); in VisitUsingShadowDecl()
H A DDecl.h3073 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() function
H A DDeclObjC.h1910 const Type *getTypeForDecl() const { return TypeForDecl; } in getTypeForDecl() function
H A DDeclTemplate.h2224 assert(getTypeForDecl() && "partial specialization has no type set!");
2225 return cast<InjectedClassNameType>(getTypeForDecl())
H A DRecursiveASTVisitor.h1786 if (D->getTypeForDecl())
1787 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
1830 if (D->getTypeForDecl())
1831 TRY_TO(TraverseType(QualType(D->getTypeForDecl(), 0)));
H A DTypeProperties.td559 if (const Type *existing = DI->getTypeForDecl()) {
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/AST/
H A DASTContext.cpp790 QualType ParamAsArgument(NewTTP->getTypeForDecl(), 0); in getCanonicalTemplateTemplateParmDecl()
2594 CharUnits UnionSize = Context.getTypeSizeInChars(RD->getTypeForDecl()); in unionHasUniqueObjectRepresentations()
5179 auto NewTypeParamTy = cast<ObjCTypeParamType>(New->getTypeForDecl()); in adjustObjCTypeParamBoundType()
H A DComparisonCategories.cpp168 return QualType(Record->getTypeForDecl(), 0); in getType()
H A DDecl.cpp4168 if (const Type *T = getTypeForDecl()) { in setTypedefNameForAnonDecl()
H A DDeclBase.cpp1269 if (const auto *TagTy = dyn_cast<TagType>(Tag->getTypeForDecl())) { in getPrimaryContext()
1275 assert(isa<InjectedClassNameType>(Tag->getTypeForDecl())); in getPrimaryContext()
H A DDeclTemplate.cpp643 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getDepth(); in getDepth()
647 return getTypeForDecl()->castAs<TemplateTypeParmType>()->getIndex(); in getIndex()
651 return getTypeForDecl()->castAs<TemplateTypeParmType>()->isParameterPack(); in isParameterPack()
1342 C.getTrivialTypeSourceInfo(QualType(T->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
1368 QualType(TemplateTypeParm->getTypeForDecl(), 0)); in createMakeIntegerSeqParameterList()
H A DQualTypeNames.cpp363 TD->getTypeForDecl()); in createNestedNameSpecifier()
H A DTypePrinter.cpp1425 assert(OwnedTagDecl->getTypeForDecl() == T->getNamedType().getTypePtr() && in printElaboratedBefore()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp960 const Type *TypeNode = ClassDecl->getTypeForDecl(); in objcClassIsDerivedFrom()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/CodeGen/
H A DCGCXXABI.cpp106 MD->getType(), MD->getParent()->getTypeForDecl())); in EmitMemberFunctionPointer()
H A DCGClass.cpp2678 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitTypeMetadataCodeForVCall()
2787 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTablePtrCheck()
2797 EmitCheckTypeDescriptor(QualType(RD->getTypeForDecl(), 0)), in EmitVTablePtrCheck()
2844 CGM.CreateMetadataIdentifierForType(QualType(RD->getTypeForDecl(), 0)); in EmitVTableTypeCheckedLoad()
H A DCGDebugInfo.cpp2938 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
2939 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
2981 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
2982 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
3398 getOrCreateType(QualType(PBase->getTypeForDecl(), 0), in CollectContainingType()
3675 QualType QTy(ID->getTypeForDecl(), 0); in getObjCMethodDeclaration()
3714 QualType(OMethod->getClassInterface()->getTypeForDecl(), 0)); in getOrCreateFunctionType()
4496 type = QualType(RDecl->getTypeForDecl(), 0); in EmitDeclareOfBlockLiteralArgVariable()
4686 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
4700 getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()
[all …]

12345678910>>...36