[clang-tools-extra] [IncludeCleaner] display overview (PR #93932)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 7 04:49:05 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp b/clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp
index 8c67112cd..7990bba61 100644
--- a/clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp
+++ b/clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp
@@ -359,8 +359,8 @@ int main(int argc, const char **argv) {
using namespace clang::include_cleaner;
llvm::sys::PrintStackTraceOnErrorSignal(argv[0]);
- auto OptionsParser =
- clang::tooling::CommonOptionsParser::create(argc, argv, IncludeCleaner, cl::OneOrMore, Overview);
+ auto OptionsParser = clang::tooling::CommonOptionsParser::create(
+ argc, argv, IncludeCleaner, cl::OneOrMore, Overview);
if (!OptionsParser) {
llvm::errs() << toString(OptionsParser.takeError());
return 1;
``````````
</details>
https://github.com/llvm/llvm-project/pull/93932
More information about the cfe-commits
mailing list