[clang-tools-extra] [IncludeCleaner] display overview (PR #93932)

via cfe-commits cfe-commits at lists.llvm.org
Fri May 31 00:05:41 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

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

Author: None (TheHillBright)

<details>
<summary>Changes</summary>

Overview was written but not displayed. This fixes it.

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


1 Files Affected:

- (modified) clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp (+1-1) 


``````````diff
diff --git a/clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp b/clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp
index 3bc449b0152bb..788ad87b1d4e8 100644
--- a/clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp
+++ b/clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp
@@ -279,7 +279,7 @@ int main(int argc, const char **argv) {
 
   llvm::sys::PrintStackTraceOnErrorSignal(argv[0]);
   auto OptionsParser =
-      clang::tooling::CommonOptionsParser::create(argc, argv, IncludeCleaner);
+      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