[clang-tools-extra] [IncludeCleaner] display overview (PR #93932)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 25 04:48:31 PDT 2024
https://github.com/TheHillBright updated https://github.com/llvm/llvm-project/pull/93932
>From e803c635a64ed3c2ad0381e82ca308f63dcf4604 Mon Sep 17 00:00:00 2001
From: TheHillBright <150074496+TheHillBright at users.noreply.github.com>
Date: Fri, 31 May 2024 15:00:37 +0800
Subject: [PATCH] IncludeCleaner: display overview
---
clang-tools-extra/include-cleaner/tool/IncludeCleaner.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the cfe-commits
mailing list