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

References

tools/clang/tools/extra/clangd/unittests/Annotations.cpp
   30 static clangd::Range toLSPRange(llvm::StringRef Code, Annotations::Range R) {
   46   for (Annotations::Range R : OffsetRanges)
tools/clang/tools/extra/clangd/unittests/ClangdTests.cpp
  418   Annotations FooSource(R"cpp(
  428   Annotations BarSource(R"cpp(
  434   Annotations BazSource(R"cpp(
  867   Annotations Code(R"cpp(
  942   Annotations Code(R"cpp(
  991   Annotations Code(R"cpp(
 1061   Annotations Code(R"cpp(
tools/clang/tools/extra/clangd/unittests/CodeCompleteTests.cpp
  129   Annotations Test(Text);
  164   Annotations Test(Text);
  744   Annotations Test(R"cpp(
  830   Annotations Test(R"cpp(
 1026   Annotations Test(Text);
 1148     Annotations Code(Test);
 1467   Annotations Source(R"cpp(
 1502   Annotations Source(R"cpp(
 1693   Annotations TestCode(
 1733   Annotations TestCode(
 1833     Annotations TestCode(Text);
 1974   Annotations FileContent(R"cpp(
 2114     Annotations F(Case);
 2139   Annotations Test(R"cpp(
tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp
  105   Annotations Test(R"cpp(
  155   Annotations Test("[[void]] main() {}");
  171   Annotations Test(R"cpp(
  183   Annotations Test(R"cpp(
  221   Annotations Test(R"cpp(
  269   Annotations Main(R"cpp(
  289   Annotations Main(R"cpp(
  309   Annotations Source(R"cpp(
  338   Annotations Main(R"cpp(
  362   Annotations Test(R"cpp(
  376   Annotations Test(R"cpp(
  397   Annotations Test(R"cpp(
  533   Annotations Test(R"cpp(
  566   Annotations Test(R"cpp(
  597   Annotations Test(R"cpp(
  641   Annotations Test(R"cpp(
  666   Annotations Test(R"cpp(
  683   Annotations Test(R"cpp(
  719   Annotations Test(R"cpp(
  741   Annotations Test(R"cpp(
  787   Annotations Test(R"cpp(
  807   Annotations Test(R"cpp(
  828   Annotations Main(R"cpp(
  831   Annotations Header("[[no_type_spec]];");
  842   Annotations Main(R"cpp(
  854   Annotations Main(R"cpp(
  869   Annotations Main(R"cpp(
  883   Annotations Main(R"cpp(
  900   Annotations Main(R"cpp(
  929   Annotations Main(R"cpp(
  932   Annotations Header(R"cpp(
  945   Annotations Main(R"cpp(
  948   Annotations Header(R"cpp(
tools/clang/tools/extra/clangd/unittests/DraftStoreTests.cpp
   35   Annotations InitialSrc(Steps.front().Src);
   42     Annotations SrcBefore(Steps[i - 1].Src);
   43     Annotations SrcAfter(Steps[i].Src);
   61   Annotations InitialSrc(Steps.front().Src);
   62   Annotations FinalSrc(Steps.back().Src);
   67     Annotations Src(Steps[i].Src);
tools/clang/tools/extra/clangd/unittests/FileIndexTests.cpp
  313   Annotations MainCode(R"cpp(
  375   Annotations Main(R"cpp(
tools/clang/tools/extra/clangd/unittests/FindSymbolsTests.cpp
  347   Annotations Main(R"(
  436   Annotations Main(R"(
  618   Annotations Main(R"(
  639   Annotations Source(R"cpp(
  654   Annotations Source(R"cpp(
tools/clang/tools/extra/clangd/unittests/FormatTests.cpp
   25   Annotations Code(CodeWithCursor);
tools/clang/tools/extra/clangd/unittests/IndexTests.cpp
  364   Annotations Test1Code(R"(class $Foo[[Foo]];)");
  381   Annotations Test2Code(R"(class $Foo[[Foo]] {};)");
tools/clang/tools/extra/clangd/unittests/ParsedASTTests.cpp
  234   Annotations TestCase(R"cpp(
tools/clang/tools/extra/clangd/unittests/PrintASTTests.cpp
   34   Annotations Test(Pair.AnnotatedCode);
tools/clang/tools/extra/clangd/unittests/RenameTests.cpp
   79     Annotations Code(T.Before);
  169     Annotations T(Case.Code);
tools/clang/tools/extra/clangd/unittests/SelectionTests.cpp
   23   Annotations Test(MarkedCode);
  291     Annotations Test(C.Code);
  369     Annotations Test(C);
  392   Annotations Test(Case);
tools/clang/tools/extra/clangd/unittests/SemanticHighlightingTests.cpp
   40 std::vector<HighlightingToken> getExpectedTokens(Annotations &Test) {
  104   Annotations Test(Code);
  125   Annotations OldTest(OldCode);
  126   Annotations NewTest(NewCode);
  770   Annotations OldTest(OldCode);
  771   Annotations NewTest(NewCode);
tools/clang/tools/extra/clangd/unittests/SemanticSelectionTests.cpp
  142     auto T = Annotations(Test);
  170   Annotations SourceAnnotations(SourceContents);
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp
  285   Annotations Source(R"cpp(
  358     Annotations TestCase(WithPreamble);
  479   Annotations Code(R"cpp(
  526   Annotations Test(R"cpp(
  583   Annotations Test(Case);
  607   Annotations Test(Case);
  674     Annotations Test(Case.Code);
tools/clang/tools/extra/clangd/unittests/SymbolCollectorTests.cpp
  403   Annotations Header(R"(
  426   Annotations Header(R"(
  544   Annotations Header(R"cpp(
  556   Annotations Main(R"cpp(
  579   Annotations Header(R"(
  590   Annotations Main(R"(
  603   Annotations SymbolsOnlyInMainCode(R"(
  632   Annotations Header(R"(
  649   Annotations Header(R"(
  676   Annotations Header(R"(
  794   Annotations Header(R"(
  816   Annotations Header(R"(
 1128   Annotations Header(R"(
 1172   Annotations Header(/*Header=*/"class [[pörk]] {};");
 1179   Annotations Header(R"(
 1230   Annotations Header(R"(
 1239   Annotations Main(R"(
tools/clang/tools/extra/clangd/unittests/SymbolInfoTests.cpp
  328     Annotations TestInput(T.first);
tools/clang/tools/extra/clangd/unittests/TUSchedulerTests.cpp
  725   Annotations Code("int m^ain () {}");
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
   53 std::pair<unsigned, unsigned> rangeOrPoint(const Annotations &A) {
   69   Annotations Input(WrappedCode);
   90   Annotations Input(WrappedCode);
  139   Annotations Test(MarkedCode);
tools/clang/tools/extra/clangd/unittests/TypeHierarchyTests.cpp
   58   Annotations Source(R"cpp(
   81   Annotations Source(R"cpp(
  105   Annotations Source(R"cpp(
  131   Annotations Source(R"cpp(
  163   Annotations Source(R"cpp(
  201   Annotations Source(R"cpp(
  246   Annotations Source(R"cpp(
  277   Annotations Source(R"cpp(
  304   Annotations Source(R"cpp(
  344   Annotations Source(R"cpp(
  394   Annotations Source(R"cpp(
  424   Annotations Source(R"cpp(
  494   Annotations Source(R"cpp(
  515   Annotations Source(R"cpp(
  536   Annotations Source(R"cpp(
  553   Annotations Source(R"cpp(
  578   Annotations Source(R"cpp(
  598   Annotations Source(R"cpp(
  616   Annotations Source(R"cpp(
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp
   57 HighlightsFrom(const Annotations &Test) {
  107     Annotations T(Test);
  143   Annotations SymbolHeader(R"cpp(
  151   Annotations SymbolCpp(R"cpp(
  165   Annotations Test(R"cpp(// only declaration in AST.
  200   Annotations SymbolHeader(R"cpp(
  209   Annotations Test(R"cpp(// only declaration in AST.
  455     Annotations T(Test);
  489   auto T = Annotations(R"cpp(
  529   auto T = Annotations(R"cpp(
  543   Annotations SourceAnnotations(R"cpp(
  550   Annotations HeaderInPreambleAnnotations(R"cpp(
  554   Annotations HeaderNotInPreambleAnnotations(R"cpp(
 1009     Annotations T(Case.Code);
 1840     Annotations T(Test.Input);
 1869   Annotations SourceAnnotations(SourceContents);
 1876   Annotations HeaderAnnotations(HeaderContents);
 1915   Annotations ObjC(R"objc(
 1937   Annotations FooWithHeader(R"cpp(#include "fo^o.h")cpp");
 1938   Annotations FooWithoutHeader(R"cpp(double    [[fo^o]]();)cpp");
 1943   Annotations FooHeader(R"cpp([[]])cpp");
 2049     Annotations T(Test);
 2109     Annotations T(Test);
 2123   Annotations Main("int main() { [[f^oo]](); }");
 2132   Annotations IndexedMain(R"cpp(
 2178     Annotations File(T.AnnotatedCode);
 2198     Annotations File(T.AnnotatedCode);
 2268     Annotations File(C.AnnotatedCode);