From: Alexander Kornienko Date: Wed, 5 Feb 2014 13:42:43 +0000 (+0000) Subject: Make the OptionCategory variable static. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d050e570cabb7d5f9b90740320341fdae21618c;p=clang Make the OptionCategory variable static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200839 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/clang-format/ClangFormat.cpp b/tools/clang-format/ClangFormat.cpp index 9744609073..f1ef6ad4d8 100644 --- a/tools/clang-format/ClangFormat.cpp +++ b/tools/clang-format/ClangFormat.cpp @@ -32,7 +32,7 @@ static cl::opt 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 Offsets("offset",