[PATCH] D19323: Fix cast compiler warning message in include-fixer.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 21 02:22:10 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL266970: Fix cast compiler warning message in include-fixer. (authored by hokein).
Changed prior to commit:
http://reviews.llvm.org/D19323?vs=54361&id=54473#toc
Repository:
rL LLVM
http://reviews.llvm.org/D19323
Files:
clang-tools-extra/trunk/include-fixer/tool/ClangIncludeFixer.cpp
Index: clang-tools-extra/trunk/include-fixer/tool/ClangIncludeFixer.cpp
===================================================================
--- clang-tools-extra/trunk/include-fixer/tool/ClangIncludeFixer.cpp
+++ clang-tools-extra/trunk/include-fixer/tool/ClangIncludeFixer.cpp
@@ -18,9 +18,8 @@
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19323.54473.patch
Type: text/x-patch
Size: 804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160421/2c94475d/attachment.bin>
More information about the cfe-commits
mailing list