Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/lib/AST/
H A DTemplateBase.cpp211 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 DASTDiagnostic.cpp1226 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1256 VD = TA.getAsDecl(); in InitializeNonTypeDiffVariables()
H A DASTStructuralEquivalence.cpp552 return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
H A DODRHash.cpp169 AddDecl(TA.getAsDecl()); in AddTemplateArgument()
H A DJSONNodeDumper.cpp1540 JOS.attribute("decl", createBareDeclRef(TA.getAsDecl())); in VisitDeclarationTemplateArgument()
H A DTextNodeDumper.cpp891 dumpDeclRef(TA.getAsDecl()); in VisitDeclarationTemplateArgument()
H A DStmtProfile.cpp2334 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
H A DMicrosoftMangle.cpp1588 const NamedDecl *ND = TA.getAsDecl(); in mangleTemplateArg()
H A DDecl.cpp337 const NamedDecl *ND = Arg.getAsDecl(); in getLVForTemplateArgumentList()
H A DItaniumMangle.cpp5390 ValueDecl *D = A.getAsDecl(); in mangleTemplateArg()
H A DASTImporter.cpp854 Expected<ValueDecl *> ToOrErr = import(From.getAsDecl()); in import()
H A DASTContext.cpp6662 auto *D = cast<ValueDecl>(Arg.getAsDecl()->getCanonicalDecl()); in getCanonicalTemplateArgument()
/llvm-project-15.0.7/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.h275 ValueDecl *getAsDecl() const {
H A DPropertiesBase.td746 let Read = [{ node.getAsDecl() }];
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DUnusedUsingDeclsCheck.cpp138 RemoveNamedDecl(Used->getAsDecl()); in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp318 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 DSemaTemplateInstantiate.cpp1560 VD = arg.getAsDecl(); in transformNonTypeTemplateParmRef()
H A DSemaExprCXX.cpp730 getUuidAttrOfType(SemaRef, TA.getAsDecl()->getType(), UuidAttrs); in getUuidAttrOfType()
H A DSemaTemplate.cpp7572 ValueDecl *VD = Arg.getAsDecl(); in BuildExpressionFromDeclTemplateArgument()
H A DTreeTransform.h4413 ? Arg.getAsDecl() in TransformTemplateArgument()
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp958 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp4307 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 DASTMatchers.h1148 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2026 const ValueDecl *D = TA.getAsDecl(); in CollectTemplateParams()

12