Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/AST/
DDeclContextInternals.h70 NamedDecl *getAsDecl() const { in getAsDecl() function
91 if (NamedDecl *OldD = getAsDecl()) in setHasExternalDecls()
108 if (NamedDecl *Singleton = getAsDecl()) { in remove()
128 } else if (NamedDecl *Singleton = getAsDecl()) { in removeExternalDecls()
148 if (NamedDecl *ND = getAsDecl()) { in getLookupResult()
166 if (NamedDecl *OldD = getAsDecl()) { in HandleRedeclaration()
194 if (NamedDecl *OldD = getAsDecl()) { in AddSubsequentDecl()
DTemplateBase.h276 ValueDecl *getAsDecl() const {
DPropertiesBase.td425 let Read = [{ node.getAsDecl() }];
/external/clang/include/clang/AST/
DDeclContextInternals.h69 NamedDecl *getAsDecl() const { in getAsDecl() function
90 if (NamedDecl *OldD = getAsDecl()) in setHasExternalDecls()
107 if (NamedDecl *Singleton = getAsDecl()) { in remove()
128 } else if (NamedDecl *Singleton = getAsDecl()) { in removeExternalDecls()
148 if (NamedDecl *ND = getAsDecl()) { in getLookupResult()
166 if (NamedDecl *OldD = getAsDecl()) { in HandleRedeclaration()
195 if (NamedDecl *OldD = getAsDecl()) { in AddSubsequentDecl()
DTemplateBase.h245 ValueDecl *getAsDecl() const { in getAsDecl() function
/external/clang/lib/AST/
DTemplateBase.cpp116 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isDependent()
118 return getAsDecl()->getDeclContext()->isDependentContext(); in isDependent()
156 if (DeclContext *DC = dyn_cast<DeclContext>(getAsDecl())) in isInstantiationDependent()
158 return getAsDecl()->getDeclContext()->isDependentContext(); in isInstantiationDependent()
262 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : nullptr); in Profile()
312 return getAsDecl() == Other.getAsDecl(); in structurallyEquals()
369 NamedDecl *ND = cast<NamedDecl>(getAsDecl()); in print()
487 return DB << Arg.getAsDecl(); in operator <<()
DASTDiagnostic.cpp1150 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1180 VD = TA.getAsDecl(); in InitializeNonTypeDiffVariables()
DDeclBase.cpp1263 if (Pos->second.getAsVector() || Pos->second.getAsDecl() == ND) in removeDecl()
DStmtProfile.cpp1730 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
DASTDumper.cpp964 dumpDeclRef(A.getAsDecl()); in dumpTemplateArgument()
/external/llvm-project/clang/lib/AST/
DTemplateBase.cpp135 auto *DC = dyn_cast<DeclContext>(getAsDecl()); in getDependence()
137 DC = getAsDecl()->getDeclContext(); in getDependence()
247 ID.AddPointer(getAsDecl()? getAsDecl()->getCanonicalDecl() : nullptr); in Profile()
300 return getAsDecl() == Other.getAsDecl(); in structurallyEquals()
357 NamedDecl *ND = getAsDecl(); in print()
473 return DB << Arg.getAsDecl(); in DiagTemplateArg()
DASTDiagnostic.cpp1190 VD = Iter->getAsDecl(); in InitializeNonTypeDiffVariables()
1220 VD = TA.getAsDecl(); in InitializeNonTypeDiffVariables()
DASTStructuralEquivalence.cpp532 return IsStructurallyEquivalent(Context, Arg1.getAsDecl(), Arg2.getAsDecl()); in IsStructurallyEquivalent()
DODRHash.cpp168 AddDecl(TA.getAsDecl()); in AddTemplateArgument()
DDeclBase.cpp1548 if ((Vec && is_contained(*Vec, ND)) || Pos->second.getAsDecl() == ND) in removeDecl()
DJSONNodeDumper.cpp1478 JOS.attribute("decl", createBareDeclRef(TA.getAsDecl())); in VisitDeclarationTemplateArgument()
DStmtProfile.cpp2196 VisitDecl(Arg.getAsDecl()); in VisitTemplateArgument()
DTextNodeDumper.cpp848 dumpDeclRef(TA.getAsDecl()); in VisitDeclarationTemplateArgument()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUnusedUsingDeclsCheck.cpp148 RemoveNamedDecl(Used->getAsDecl()); in check()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp239 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
1716 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl())) in DeduceTemplateArguments()
1765 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsDecl(), in DeduceTemplateArguments()
1952 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateDeduction.cpp332 isSameDeclaration(X.getAsDecl(), Y.getAsDecl())) in checkDeducedTemplateArguments()
2364 isSameDeclaration(Param.getAsDecl(), Arg.getAsDecl())) in DeduceTemplateArguments()
2418 Arg.getAsDecl(), in DeduceTemplateArguments()
2597 return isSameDeclaration(X.getAsDecl(), Y.getAsDecl()); in isSameTemplateArg()
/external/clang/lib/Index/
DUSRGeneration.cpp809 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/external/llvm-project/clang/lib/Index/
DUSRGeneration.cpp954 Visit(Arg.getAsDecl()); in VisitTemplateArgument()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h777 return InnerMatcher.matches(*Node.getAsDecl(), Finder, Builder); in AST_MATCHER_P()
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp3959 ASSERT_NE(L.getAsDecl(), A0); in TEST_P()
3960 ASSERT_EQ(L.getAsDecl(), A1); in TEST_P()
3962 ASSERT_TRUE(L.getAsDecl()); in TEST_P()

12