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

References

tools/clang/tools/extra/clangd/unittests/DiagnosticsTests.cpp
  126           AllOf(Diag(Test.range("typo"),
  132                 WithNote(Diag(Test.range("decl"), "'foo' declared here"))),
  136           AllOf(Diag(Test.range("semicolon"), "expected ';' after expression"),
  139           Diag(Test.range("unk"), "use of undeclared identifier 'unknown'"),
  140           Diag(Test.range("type"),
  143           Diag(Test.range("nomember"), "no member named 'y' in 'Foo'"),
  144           Diag(Test.range("nomembernamespace"),
  147           AllOf(Diag(Test.range("constructor"),
  158               ElementsAre(AllOf(Diag(Test.range(), "'main' must return 'int'"),
  166           Diag(Test.range(), "return type of 'main' is not 'int'"),
  178                   Diag(Test.range(), "'not-found.h' file not found"),
  195           Diag(Test.range(),
  215           Diag(Test.range(),
  239           AllOf(Diag(Test.range("deprecated"),
  246           Diag(Test.range("doubled"),
  249               Diag(Test.range("macroarg"),
  255                   Diag(Test.range("macrodef"), "macro 'SQUARE' defined here"))),
  256           Diag(Test.range("macroarg"),
  259             Diag(Test.range("main"),
  283           Diag(Main.range(), "result of integer division used in a floating "
  301           Diag(Main.range(), "result of integer division used in a floating "
  350           Diag(Main.range(), "result of integer division used in a floating "
  372       ElementsAre(Diag(Test.range(), "use of undeclared identifier 'b'")));
  388               ElementsAre(Diag(Test.range("foo"),
  391                           Diag(Test.range("bar"),
  404               ElementsAre(AllOf(Diag(Test.range(), "'main' must return 'int'"),
  552           AllOf(Diag(Test.range("nested"),
  556           AllOf(Diag(Test.range("base"), "base class has incomplete type"),
  559           AllOf(Diag(Test.range("access"),
  591                   Diag(Test.range("base"), "base class has incomplete type"),
  592                   Diag(Test.range("access"),
  622           AllOf(Diag(Test.range("unqualified1"), "unknown type name 'X'"),
  625           Diag(Test.range("unqualified2"), "use of undeclared identifier 'X'"),
  626           AllOf(Diag(Test.range("qualified1"),
  630           AllOf(Diag(Test.range("qualified2"),
  634           AllOf(Diag(Test.range("global"),
  658                   Diag(Test.range("unqualified"), "unknown type name 'X'"),
  677       UnorderedElementsAre(Diag(Test.range(), "no member named 'xy' in 'X'")));
  735           Diag(Test.range(), "no member named 'scope' in namespace 'ns'"),
  763               Diag(Test.range("q1"), "use of undeclared identifier 'clangd'; "
  769               Diag(Test.range("x"), "no type named 'X' in namespace 'clang'"),
  773               Diag(Test.range("q2"), "use of undeclared identifier 'clangd'; "
  779           AllOf(Diag(Test.range("ns"),
  801                   Diag(Test.range(), "no type named 'X' in namespace 'a'"),
  824               ElementsAre(Diag(Test.range(), "use of undeclared identifier 'a'")));
  836                   Diag(Main.range(), "in included file: C++ requires a "
  838                   WithNote(Diag(Header.range(), "error occurred here")))));
  849                   Diag(Main.range(), "in included file: C++ requires a "
  862                   Diag(Main.range("a"), "in included file: C++ requires a type "
  864                   Diag(Main.range("b"), "in included file: C++ requires a type "
  877               UnorderedElementsAre(Diag(Main.range(),
  895                   Diag(Main.range(), "in included file: C++ requires a "
  924                   Diag(Main.range(), "in included file: C++ requires a "
  939                   Diag(Main.range(), "in included file: C++ requires "
  941                   WithNote(Diag(Header.range(), "error occurred here")))));