Home
last modified time | relevance | path

Searched refs:LookupDecl (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DTestTU.cpp194 auto LookupDecl = [&Ctx](const DeclContext &Scope, in findDecl() local
205 Scope = &cast<DeclContext>(LookupDecl(*Scope, *NameIt)); in findDecl()
207 return LookupDecl(*Scope, Components.back()); in findDecl()
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp296 auto LookupDecl = [&AST](const Decl &Scope, in conflictInNamespace() local
310 LookupDecl(*AST.getTranslationUnitDecl(), NsSplitted.front()); in conflictInNamespace()
316 if (LookupDecl(*Scope, SymbolTopNs)) in conflictInNamespace()
318 Scope = LookupDecl(*Scope, *I); in conflictInNamespace()
321 if (Scope && LookupDecl(*Scope, SymbolTopNs)) in conflictInNamespace()