r309276 - [clang-diff] Rename, NFC

Johannes Altmanninger via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 27 08:04:44 PDT 2017


Author: krobelus
Date: Thu Jul 27 08:04:44 2017
New Revision: 309276

URL: http://llvm.org/viewvc/llvm-project?rev=309276&view=rev
Log:
[clang-diff] Rename, NFC

Modified:
    cfe/trunk/tools/clang-diff/ClangDiff.cpp

Modified: cfe/trunk/tools/clang-diff/ClangDiff.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-diff/ClangDiff.cpp?rev=309276&r1=309275&r2=309276&view=diff
==============================================================================
--- cfe/trunk/tools/clang-diff/ClangDiff.cpp (original)
+++ cfe/trunk/tools/clang-diff/ClangDiff.cpp Thu Jul 27 08:04:44 2017
@@ -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;




More information about the cfe-commits mailing list