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 origin/main HEAD --extensions h,cpp --
llvm/include/llvm/FileCheck/FileCheck.h llvm/lib/FileCheck/FileCheck.cpp
llvm/lib/FileCheck/FileCheckImpl.h llvm/utils/FileCheck/FileCheck.cpp
--diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/utils/FileCheck/FileCheck.cpp
b/llvm/utils/FileCheck/FileCheck.cpp
index 82c71b097..a70ebf370 100644
--- a/llvm/utils/FileCheck/FileCheck.cpp
+++ b/llvm/utils/FileCheck/FileCheck.cpp
@@ -145,10 +145,11 @@ enum DumpInputFilterValue {
static cl::list<std::string> FilterLabel(
"filter-label", cl::CommaSeparated,
- cl::desc("Drop CHECKs whose enclosing CHECK-LABEL section's literal text\n"
- "doesn't word-match any of the given labels. CHECKs before the\n"
- "first label are dropped. Useful for narrowing checks to a
subset\n"
- "of functions."),
+ cl::desc(
+ "Drop CHECKs whose enclosing CHECK-LABEL section's literal text\n"
+ "doesn't word-match any of the given labels. CHECKs before the\n"
+ "first label are dropped. Useful for narrowing checks to a subset\n"
+ "of functions."),
cl::value_desc("name"));
static cl::list<DumpInputFilterValue> DumpInputFilters(
``````````
</details>
https://github.com/llvm/llvm-project/pull/200618
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits