[clang] fix usr rhs (PR #68329)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 5 09:17:30 PDT 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 0ca7e609fc5ebdd9c95f6cba3c608cae4b575846 44a0c88778e5fea419838b2fae1ccd92dab696f5 -- clang/test/Index/USR/decl-context.cpp clang/test/Index/USR/using-decl.cpp clang-tools-extra/clangd/unittests/SymbolInfoTests.cpp clang/lib/Index/USRGeneration.cpp clang/test/Index/using_if_exists.cpp clang/test/Index/usrs.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang-tools-extra/clangd/unittests/SymbolInfoTests.cpp b/clang-tools-extra/clangd/unittests/SymbolInfoTests.cpp
index 64c8834ab2e9..c8e5c1cf9d97 100644
--- a/clang-tools-extra/clangd/unittests/SymbolInfoTests.cpp
+++ b/clang-tools-extra/clangd/unittests/SymbolInfoTests.cpp
@@ -202,8 +202,8 @@ TEST(SymbolInfoTests, All) {
"def_bool"},
ExpectedSymbolDetails{"foo", "", "c:@F at foo#I#", "def_int",
"def_int"},
- ExpectedSymbolDetails{"foo", "bar::", "c:TestTU.cpp at N@bar at UD@foo",
- "decl"}}},
+ ExpectedSymbolDetails{
+ "foo", "bar::", "c:TestTU.cpp at N@bar at UD@foo", "decl"}}},
{
R"cpp( // Multiple symbols returned - implicit conversion
struct foo {};
``````````
</details>
https://github.com/llvm/llvm-project/pull/68329
More information about the cfe-commits
mailing list