reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/tools/extra/clangd/FindTarget.cpp
  133     if (!D)
  135     debug(*D, Flags);
  136     if (const UsingDirectiveDecl *UDD = llvm::dyn_cast<UsingDirectiveDecl>(D))
  137       D = UDD->getNominatedNamespaceAsWritten();
  139     if (const TypedefNameDecl *TND = dyn_cast<TypedefNameDecl>(D)) {
  142     } else if (const UsingDecl *UD = dyn_cast<UsingDecl>(D)) {
  146     } else if (const auto *NAD = dyn_cast<NamespaceAliasDecl>(D)) {
  149     } else if (const UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) {
  155       D = USD->getTargetDecl();
  159     if (const Decl *Pat = getTemplatePattern(D)) {
  160       assert(Pat != D);
  166     report(D, Flags);