[clang-tools-extra] [clangd] Fix test case due to clang-format bug fix (PR #88352)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 10 21:37:44 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clangd
Author: Owen Pan (owenca)
<details>
<summary>Changes</summary>
See commit 51f1681424f1.
---
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
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/88352
More information about the cfe-commits
mailing list