r200839 - Make the OptionCategory variable static.
Alexander Kornienko
alexfh at google.com
Wed Feb 5 05:42:43 PST 2014
Author: alexfh
Date: Wed Feb 5 07:42:43 2014
New Revision: 200839
URL: http://llvm.org/viewvc/llvm-project?rev=200839&view=rev
Log:
Make the OptionCategory variable static.
Modified:
cfe/trunk/tools/clang-format/ClangFormat.cpp
Modified: cfe/trunk/tools/clang-format/ClangFormat.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format/ClangFormat.cpp?rev=200839&r1=200838&r2=200839&view=diff
==============================================================================
--- cfe/trunk/tools/clang-format/ClangFormat.cpp (original)
+++ cfe/trunk/tools/clang-format/ClangFormat.cpp Wed Feb 5 07:42:43 2014
@@ -32,7 +32,7 @@ static cl::opt<bool> Help("h", cl::desc(
// Mark all our options with this category, everything else (except for -version
// and -help) will be hidden.
-cl::OptionCategory ClangFormatCategory("Clang-format options");
+static cl::OptionCategory ClangFormatCategory("Clang-format options");
static cl::list<unsigned>
Offsets("offset",
More information about the cfe-commits
mailing list