Home
last modified time | relevance | path

Searched refs:getLookupParent (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclBase.h1927 DeclContext *getLookupParent();
1929 const DeclContext *getLookupParent() const {
1930 return const_cast<DeclContext*>(this)->getLookupParent();
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp92 for (const auto *DC = DestContext; DC; DC = DC->getLookupParent()) { in getUsingNamespaceDirectives()
117 CurContext = CurContext->getLookupParent()) { in getQualification()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLookup.cpp1351 for (; Ctx && !Ctx->Equals(OuterCtx); Ctx = Ctx->getLookupParent()) { in CppLookupName()
1478 for (; Ctx && !Ctx->Equals(OuterCtx); Ctx = Ctx->getLookupParent()) { in CppLookupName()
4317 Ctx = Ctx->getLookupParent()) { in lookupInScope()
4863 DC = DC->getLookupParent()) { in buildContextChain()
H A DSemaTemplate.cpp1836 OutermostContext = OutermostContext->getLookupParent(); in CheckClassTemplate()
1854 LookupContext = LookupContext->getLookupParent(); in CheckClassTemplate()
3830 for (DeclContext *Ctx = CurContext; Ctx; Ctx = Ctx->getLookupParent()) { in CheckTemplateIdType()
H A DSemaDecl.cpp552 for (;; DC = DC->getLookupParent()) { in synthesizeCurrentNestedNameSpecifier()
572 for (; DC && DC->isDependentContext(); DC = DC->getLookupParent()) { in findRecordWithDependentBasesOfEnclosingMethod()
1340 S->setEntity(CurContext->getLookupParent()); in ActOnTagStartSkippedDefinition()
1427 for (; DC; DC = DC->getLookupParent()) { in EnterTemplatedContext()
1434 SearchDCAfterScope = DC = DC->getLookupParent(); in EnterTemplatedContext()
H A DSemaCodeComplete.cpp717 CommonAncestor = CommonAncestor->getLookupParent()) { in getRequiredQualification()
H A DSemaExpr.cpp2319 DC = DC->getLookupParent(); in DiagnoseEmptyLookup()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp1104 DeclContext *DeclContext::getLookupParent() { in getLookupParent() function in DeclContext
/llvm-project-15.0.7/clang/lib/Frontend/
H A DASTUnit.cpp901 if (!(DC->isTranslationUnit() || DC->getLookupParent()->isTranslationUnit())) in AddTopLevelDeclarationToHash()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp3983 ASSERT_FALSE(FromRecordOfFriend->getLookupParent() in TEST_P()
4001 EXPECT_FALSE(ToRecordOfFriend->getLookupParent() in TEST_P()