Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DFindTargetTests.cpp1144 auto *TestDecl = &findDecl(AST, "foo"); in annotateReferencesInFoo() local
1145 if (auto *T = llvm::dyn_cast<FunctionTemplateDecl>(TestDecl)) in annotateReferencesInFoo()
1146 TestDecl = T->getTemplatedDecl(); in annotateReferencesInFoo()
1149 if (const auto *Func = llvm::dyn_cast<FunctionDecl>(TestDecl)) in annotateReferencesInFoo()
1154 else if (const auto *NS = llvm::dyn_cast<NamespaceDecl>(TestDecl)) in annotateReferencesInFoo()