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

References

tools/clang/tools/extra/clangd/XRefs.cpp
  706   HI.Definition = printDefinition(D);
  749         HI.Definition =
  907       Style, HI->Definition, tooling::Range(0, HI->Definition.size()));
  907       Style, HI->Definition, tooling::Range(0, HI->Definition.size()));
  909           tooling::applyAllReplacements(HI->Definition, Replacements))
  910     HI->Definition = *Formatted;
 1281   if (!Definition.empty()) {
 1282     Output.appendCodeBlock(Definition);
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp
  615          HI.Definition = "void foo()";
  632          HI.Definition = "void foo()";
  650          HI.Definition = "int bar";
  668          HI.Definition = "int bar";
  684          HI.Definition = "int bar";
  696          HI.Definition = "Foo<int, char, bool> foo = Foo<int, char, bool>(5)";
  708          HI.Definition = "template <typename T> class vector {}";
  727          HI.Definition =
  757          HI.Definition =
  786          HI.Definition = "Foo<bool, true, false> foo(int, bool T = false)";
  807          HI.Definition = "auto *c = &b";
  828          HI.Definition = "decltype(lamb) &bar";
  849          HI.Definition = "decltype(lamb) bar";
  871          HI.Definition = "auto lamb = [&bar](int T, bool B) -> bool {}";
  891          HI.Definition = "int test";
  937          HI.Definition = "#define MACRO(x, y, z) void foo(x, y, z);";
  947          HI.Definition = "int bar = add(1, 2)";
  958          HI.Definition = "int bar = sizeof(char)";
  972          HI.Definition = "int bar = Add<1, 2>::result";
  988          HI.Definition = "static constexpr int result = a + b";
  999          HI.Definition = "const char *bar = \"1234\"";
 1026     EXPECT_EQ(H->Definition, Expected.Definition);
 1026     EXPECT_EQ(H->Definition, Expected.Definition);