Home
last modified time | relevance | path

Searched refs:getAsDecl (Results 1 – 24 of 24) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp280 auto *DC = dyn_cast<DeclContext>(getAsDecl()); in getDependence()
282 DC = getAsDecl()->getDeclContext(); in getDependence()
398 ID.AddPointer(getAsDecl()); in Profile()
445 return getAsDecl() == Other.getAsDecl() && in structurallyEquals()
516 NamedDecl *ND = getAsDecl(); in print()
642 return DB << Arg.getAsDecl(); in DiagTemplateArg()
H A DASTDiagnostic.cpp1226 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1256 VD = TA.getAsDecl(); in InitializeNonTypeDiffVariables()
H A DASTStructuralEquivalence.cpp670 return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
H A DODRHash.cpp172 AddDecl(TA.getAsDecl()); in AddTemplateArgument()
H A DJSONNodeDumper.cpp1645 JOS.attribute("decl", createBareDeclRef(TA.getAsDecl())); in VisitDeclarationTemplateArgument()
H A DStmtProfile.cpp2407 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
H A DTextNodeDumper.cpp984 dumpDeclRef(TA.getAsDecl()); in VisitDeclarationTemplateArgument()
H A DMicrosoftMangle.cpp1670 const NamedDecl *ND = TA.getAsDecl(); in mangleTemplateArg()
H A DDecl.cpp336 const NamedDecl *ND = Arg.getAsDecl(); in getLVForTemplateArgumentList()
H A DItaniumMangle.cpp6052 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
H A DASTImporter.cpp808 Expected<ValueDecl *> ToOrErr = import(From.getAsDecl()); in import()
3582 return isAncestorDeclContextOf(ParentDC, Arg.getAsDecl()); in checkTemplateArgument()
H A DASTContext.cpp6741 auto *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclContextInternals.h125 if (NamedDecl *ND = getAsDecl()) in getASTContext()
132 NamedDecl *getAsDecl() const { in getAsDecl() function
224 if (NamedDecl *OldD = getAsDecl()) { in addOrReplaceDecl()
H A DTemplateBase.h326 ValueDecl *getAsDecl() const {
H A DPropertiesBase.td774 let Read = [{ node.getAsDecl() }];
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp334 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
2288 isSameDeclaration(P.getAsDecl(), A.getAsDecl())) in DeduceTemplateArguments()
2339 S, TemplateParams, NTTP, A.getAsDecl(), A.getParamTypeForDecl(), in DeduceTemplateArguments()
2521 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
H A DSemaTemplateInstantiate.cpp1979 ValueDecl *VD = arg.getAsDecl(); in transformNonTypeTemplateParmRef()
H A DSemaExprCXX.cpp739 getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs); in getUuidAttrOfType()
H A DSemaTemplate.cpp7997 ValueDecl *VD = Arg.getAsDecl(); in BuildExpressionFromDeclTemplateArgument()
H A DTreeTransform.h4592 ? Arg.getAsDecl() in TransformTemplateArgument()
H A DSemaExpr.cpp20837 if (Decl *D = Arg.getAsDecl()) in TraverseTemplateArgument()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp1023 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1150 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2140 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()