Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clangd] Fix test case due to clang-format bug fix #88352

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

owenca
Copy link
Contributor

@owenca owenca commented Apr 11, 2024

See commit 51f1681.

@llvmbot
Copy link
Collaborator

llvmbot commented Apr 11, 2024

@llvm/pr-subscribers-clang-tools-extra

Author: Owen Pan (owenca)

Changes

See commit 51f1681.


Full diff: https://github.com/llvm/llvm-project/pull/88352.diff

1 Files Affected:

  • (modified) clang-tools-extra/clangd/unittests/HoverTests.cpp (+3-1)
diff --git a/clang-tools-extra/clangd/unittests/HoverTests.cpp b/clang-tools-extra/clangd/unittests/HoverTests.cpp
index 35db757b9c15b5..45266959802832 100644
--- a/clang-tools-extra/clangd/unittests/HoverTests.cpp
+++ b/clang-tools-extra/clangd/unittests/HoverTests.cpp
@@ -1986,7 +1986,9 @@ TEST(Hover, All) {
   { return 0; }
 
 // Expands to
-{ return 0; })cpp";
+  {                                                                            \
+    return 0;                                                                  \
+  })cpp";
           }},
       {
           R"cpp(// Forward class declaration

@llvmbot
Copy link
Collaborator

llvmbot commented Apr 11, 2024

@llvm/pr-subscribers-clangd

Author: Owen Pan (owenca)

Changes

See commit 51f1681.


Full diff: https://github.com/llvm/llvm-project/pull/88352.diff

1 Files Affected:

  • (modified) clang-tools-extra/clangd/unittests/HoverTests.cpp (+3-1)
diff --git a/clang-tools-extra/clangd/unittests/HoverTests.cpp b/clang-tools-extra/clangd/unittests/HoverTests.cpp
index 35db757b9c15b5..45266959802832 100644
--- a/clang-tools-extra/clangd/unittests/HoverTests.cpp
+++ b/clang-tools-extra/clangd/unittests/HoverTests.cpp
@@ -1986,7 +1986,9 @@ TEST(Hover, All) {
   { return 0; }
 
 // Expands to
-{ return 0; })cpp";
+  {                                                                            \
+    return 0;                                                                  \
+  })cpp";
           }},
       {
           R"cpp(// Forward class declaration

@owenca owenca merged commit 5964c94 into llvm:main Apr 11, 2024
3 of 4 checks passed
@owenca owenca deleted the clangd branch April 11, 2024 05:25
@owenca
Copy link
Contributor Author

owenca commented Apr 11, 2024

@HighCommander4 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants