]> granicus.if.org Git - clang/commitdiff
[clang-diff] Rename, NFC
authorJohannes Altmanninger <aclopte@gmail.com>
Thu, 27 Jul 2017 15:04:44 +0000 (15:04 +0000)
committerJohannes Altmanninger <aclopte@gmail.com>
Thu, 27 Jul 2017 15:04:44 +0000 (15:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@309276 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-diff/ClangDiff.cpp

index 0386de598aab06902a25d928554eded5b3ff881b..86284cda43707a39d4f91b70754ea1235d623e55 100644 (file)
@@ -24,7 +24,7 @@ using namespace clang::tooling;
 static cl::OptionCategory ClangDiffCategory("clang-diff options");
 
 static cl::opt<bool>
-    DumpAST("ast-dump",
+    ASTDump("ast-dump",
             cl::desc("Print the internal representation of the AST as JSON."),
             cl::init(false), cl::cat(ClangDiffCategory));
 
@@ -74,7 +74,7 @@ int main(int argc, const char **argv) {
     return 1;
   }
 
-  if (DumpAST) {
+  if (ASTDump) {
     if (!DestinationPath.empty()) {
       llvm::errs() << "Error: Please specify exactly one filename.\n";
       return 1;