diff options
Diffstat (limited to 'clang-tools-extra/unittests/clangd/XRefsTests.cpp')
-rw-r--r-- | clang-tools-extra/unittests/clangd/XRefsTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/unittests/clangd/XRefsTests.cpp b/clang-tools-extra/unittests/clangd/XRefsTests.cpp index 0052d428ab7..e1120430b85 100644 --- a/clang-tools-extra/unittests/clangd/XRefsTests.cpp +++ b/clang-tools-extra/unittests/clangd/XRefsTests.cpp @@ -207,7 +207,7 @@ TEST(GoToDefinition, All) { R"cpp(// Macro #define MACRO 0 - #define [[MACRO 1]] + #define [[MACRO]] 1 int main() { return ^MACRO; } #define MACRO 2 #undef macro @@ -215,7 +215,7 @@ TEST(GoToDefinition, All) { R"cpp(// Macro class TTT { public: int a; }; - #define [[FF(S) if (int b = S.a) {}]] + #define [[FF]](S) if (int b = S.a) {} void f() { TTT t; F^F(t); |