[clang-tools-extra] r200841 - Make the OptionCategory variable static.
Alexander Kornienko
alexfh at google.com
Wed Feb 5 05:43:27 PST 2014
Author: alexfh
Date: Wed Feb 5 07:43:27 2014
New Revision: 200841
URL: http://llvm.org/viewvc/llvm-project?rev=200841&view=rev
Log:
Make the OptionCategory variable static.
Modified:
clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp
Modified: clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp?rev=200841&r1=200840&r2=200841&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp Wed Feb 5 07:43:27 2014
@@ -23,7 +23,7 @@ using namespace clang::driver;
using namespace clang::tooling;
using namespace llvm;
-cl::OptionCategory ClangTidyCategory("clang-tidy options");
+static cl::OptionCategory ClangTidyCategory("clang-tidy options");
static cl::extrahelp CommonHelp(CommonOptionsParser::HelpMessage);
More information about the cfe-commits
mailing list