]> granicus.if.org Git - clang/commitdiff
Make the OptionCategory variable static.
authorAlexander Kornienko <alexfh@google.com>
Wed, 5 Feb 2014 13:42:43 +0000 (13:42 +0000)
committerAlexander Kornienko <alexfh@google.com>
Wed, 5 Feb 2014 13:42:43 +0000 (13:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200839 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-format/ClangFormat.cpp

index 9744609073173e296d7d187e44badea5b53043ab..f1ef6ad4d86997641730618225439bf89d410fc7 100644 (file)
@@ -32,7 +32,7 @@ static cl::opt<bool> Help("h", cl::desc("Alias for -help"), cl::Hidden);
 
 // 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",