Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DTemplateBase.cpp209 auto *DC = dyn_cast<DeclContext>(getAsDecl()); in getDependence()
211 DC = getAsDecl()->getDeclContext(); in getDependence()
322 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : nullptr); in Profile()
375 return getAsDecl() == Other.getAsDecl(); in structurallyEquals()
434 NamedDecl *ND = getAsDecl(); in print()
552 return DB << Arg.getAsDecl(); in DiagTemplateArg()
H A DASTDiagnostic.cpp1191 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1221 VD = TA.getAsDecl(); in InitializeNonTypeDiffVariables()
H A DASTStructuralEquivalence.cpp551 return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
H A DODRHash.cpp168 AddDecl(TA.getAsDecl()); in AddTemplateArgument()
H A DJSONNodeDumper.cpp1531 JOS.attribute("decl", createBareDeclRef(TA.getAsDecl())); in VisitDeclarationTemplateArgument()
H A DStmtProfile.cpp2276 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
H A DTextNodeDumper.cpp889 dumpDeclRef(TA.getAsDecl()); in VisitDeclarationTemplateArgument()
H A DMicrosoftMangle.cpp1557 const NamedDecl *ND = TA.getAsDecl(); in mangleTemplateArg()
H A DDecl.cpp335 const NamedDecl *ND = Arg.getAsDecl(); in getLVForTemplateArgumentList()
H A DItaniumMangle.cpp5310 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
H A DASTContext.cpp6003 auto *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
H A DASTImporter.cpp817 Expected<ValueDecl *> ToOrErr = import(From.getAsDecl()); in import()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclContextInternals.h126 if (NamedDecl *ND = getAsDecl()) in getASTContext()
133 NamedDecl *getAsDecl() const { in getAsDecl() function
225 if (NamedDecl *OldD = getAsDecl()) { in addOrReplaceDecl()
H A DTemplateBase.h276 ValueDecl *getAsDecl() const {
H A DPropertiesBase.td733 let Read = [{ node.getAsDecl() }];
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp332 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
2349 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl())) in DeduceTemplateArguments()
2403 Arg.getAsDecl(), in DeduceTemplateArguments()
2582 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
H A DSemaTemplateInstantiate.cpp1547 VD = arg.getAsDecl(); in transformNonTypeTemplateParmRef()
H A DSemaExprCXX.cpp727 getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs); in getUuidAttrOfType()
H A DSemaTemplate.cpp7508 ValueDecl *VD = Arg.getAsDecl(); in BuildExpressionFromDeclTemplateArgument()
H A DTreeTransform.h4347 ? Arg.getAsDecl() in TransformTemplateArgument()
H A DSemaExpr.cpp18810 if (Decl *D = Arg.getAsDecl()) in TraverseTemplateArgument()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp956 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1144 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1932 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()