[clang-tools-extra] r266970 - Fix cast compiler warning message in include-fixer.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 21 02:16:32 PDT 2016
Author: hokein
Date: Thu Apr 21 04:16:32 2016
New Revision: 266970
URL: http://llvm.org/viewvc/llvm-project?rev=266970&view=rev
Log:
Fix cast compiler warning message in include-fixer.
Reviewers: bkramer
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19323
Modified:
clang-tools-extra/trunk/include-fixer/tool/ClangIncludeFixer.cpp
Modified: clang-tools-extra/trunk/include-fixer/tool/ClangIncludeFixer.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/include-fixer/tool/ClangIncludeFixer.cpp?rev=266970&r1=266969&r2=266970&view=diff
==============================================================================
--- clang-tools-extra/trunk/include-fixer/tool/ClangIncludeFixer.cpp (original)
+++ clang-tools-extra/trunk/include-fixer/tool/ClangIncludeFixer.cpp Thu Apr 21 04:16:32 2016
@@ -18,9 +18,8 @@ using namespace clang;
static llvm::cl::OptionCategory tool_options("Tool options");
-int main(int argc, char **argv) {
- clang::tooling::CommonOptionsParser options(argc, (const char **)argv,
- tool_options);
+int main(int argc, const char **argv) {
+ clang::tooling::CommonOptionsParser options(argc, argv, tool_options);
clang::tooling::ClangTool tool(options.getCompilations(),
options.getSourcePathList());
// Set up the data source.
More information about the cfe-commits
mailing list