| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 211 auto *DC = dyn_cast<DeclContext>(getAsDecl()); in getDependence() 213 DC = getAsDecl()->getDeclContext(); in getDependence() 324 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : nullptr); in Profile() 377 return getAsDecl() == Other.getAsDecl(); in structurallyEquals() 436 NamedDecl *ND = getAsDecl(); in print() 554 return DB << Arg.getAsDecl(); in DiagTemplateArg()
|
| H A D | ASTDiagnostic.cpp | 1226 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables() 1256 VD = TA.getAsDecl(); in InitializeNonTypeDiffVariables()
|
| H A D | ASTStructuralEquivalence.cpp | 552 return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
|
| H A D | ODRHash.cpp | 169 AddDecl(TA.getAsDecl()); in AddTemplateArgument()
|
| H A D | JSONNodeDumper.cpp | 1540 JOS.attribute("decl", createBareDeclRef(TA.getAsDecl())); in VisitDeclarationTemplateArgument()
|
| H A D | TextNodeDumper.cpp | 891 dumpDeclRef(TA.getAsDecl()); in VisitDeclarationTemplateArgument()
|
| H A D | StmtProfile.cpp | 2334 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
|
| H A D | MicrosoftMangle.cpp | 1588 const NamedDecl *ND = TA.getAsDecl(); in mangleTemplateArg()
|
| H A D | Decl.cpp | 337 const NamedDecl *ND = Arg.getAsDecl(); in getLVForTemplateArgumentList()
|
| H A D | ItaniumMangle.cpp | 5390 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
|
| H A D | ASTImporter.cpp | 854 Expected<ValueDecl *> ToOrErr = import(From.getAsDecl()); in import()
|
| H A D | ASTContext.cpp | 6662 auto *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclContextInternals.h | 125 if (NamedDecl *ND = getAsDecl()) in getASTContext() 132 NamedDecl *getAsDecl() const { in getAsDecl() function 224 if (NamedDecl *OldD = getAsDecl()) { in addOrReplaceDecl()
|
| H A D | TemplateBase.h | 275 ValueDecl *getAsDecl() const {
|
| H A D | PropertiesBase.td | 746 let Read = [{ node.getAsDecl() }];
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnusedUsingDeclsCheck.cpp | 138 RemoveNamedDecl(Used->getAsDecl()); in check()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 318 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments() 2229 isSameDeclaration(P.getAsDecl(), A.getAsDecl())) in DeduceTemplateArguments() 2269 S, TemplateParams, NTTP, A.getAsDecl(), A.getParamTypeForDecl(), in DeduceTemplateArguments() 2443 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
|
| H A D | SemaTemplateInstantiate.cpp | 1560 VD = arg.getAsDecl(); in transformNonTypeTemplateParmRef()
|
| H A D | SemaExprCXX.cpp | 730 getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs); in getUuidAttrOfType()
|
| H A D | SemaTemplate.cpp | 7572 ValueDecl *VD = Arg.getAsDecl(); in BuildExpressionFromDeclTemplateArgument()
|
| H A D | TreeTransform.h | 4413 ? Arg.getAsDecl() in TransformTemplateArgument()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 958 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 4307 ASSERT_NE(L.getAsDecl(), A0); in TEST_P() 4308 ASSERT_EQ(L.getAsDecl(), A1); in TEST_P() 4310 ASSERT_TRUE(L.getAsDecl()); in TEST_P()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 1148 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 2026 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()
|