Home
last modified time | relevance | path

Searched refs:CommonAncestor (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclCXX.h2930 DeclContext *CommonAncestor; variable
2937 DeclContext *CommonAncestor) in UsingDirectiveDecl() argument
2940 NominatedNamespace(Nominated), CommonAncestor(CommonAncestor) {} in UsingDirectiveDecl()
2982 DeclContext *getCommonAncestor() { return CommonAncestor; } in getCommonAncestor()
2983 const DeclContext *getCommonAncestor() const { return CommonAncestor; } in getCommonAncestor()
3001 DeclContext *CommonAncestor);
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DSelectionTests.cpp95 TEST(SelectionTest, CommonAncestor) { in TEST() argument
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLookup.cpp59 const DeclContext *CommonAncestor; member in __anon5c0384df0111::UnqualUsingEntry
63 const DeclContext *CommonAncestor) in UnqualUsingEntry() argument
64 : Nominated(Nominated), CommonAncestor(CommonAncestor) { in UnqualUsingEntry()
68 return CommonAncestor; in getCommonAncestor()
H A DSemaCodeComplete.cpp715 for (const DeclContext *CommonAncestor = TargetContext; in getRequiredQualification() local
716 CommonAncestor && !CommonAncestor->Encloses(CurContext); in getRequiredQualification()
717 CommonAncestor = CommonAncestor->getLookupParent()) { in getRequiredQualification()
718 if (CommonAncestor->isTransparentContext() || in getRequiredQualification()
719 CommonAncestor->isFunctionOrMethod()) in getRequiredQualification()
722 TargetParents.push_back(CommonAncestor); in getRequiredQualification()
H A DSemaDeclCXX.cpp11704 DeclContext *CommonAncestor = NS; in ActOnUsingDirective() local
11705 while (CommonAncestor && !CommonAncestor->Encloses(CurContext)) in ActOnUsingDirective()
11706 CommonAncestor = CommonAncestor->getParent(); in ActOnUsingDirective()
11710 IdentLoc, Named, CommonAncestor); in ActOnUsingDirective()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp2845 DeclContext *CommonAncestor) { in Create() argument
2849 IdentLoc, Used, CommonAncestor); in Create()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp1806 D->CommonAncestor = readDeclAs<DeclContext>(); in VisitUsingDirectiveDecl()