[cfe-commits] r62239 - /cfe/trunk/Driver/clang.cpp

Daniel Dunbar daniel at zuster.org
Wed Jan 14 10:56:38 PST 2009


Author: ddunbar
Date: Wed Jan 14 12:56:36 2009
New Revision: 62239

URL: http://llvm.org/viewvc/llvm-project?rev=62239&view=rev
Log:
Fix typo and spelling of -Wunused-macros.

Modified:
    cfe/trunk/Driver/clang.cpp

Modified: cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=62239&r1=62238&r2=62239&view=diff

==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Wed Jan 14 12:56:36 2009
@@ -197,7 +197,7 @@
 static llvm::cl::opt<std::string>
 InheritanceViewCls("cxx-inheritance-view",
                    llvm::cl::value_desc("class name"),
-                   llvm::cl::desc("View C++ inhertance for a specified class"));
+                  llvm::cl::desc("View C++ inheritance for a specified class"));
 
 //===----------------------------------------------------------------------===//
 // Analyzer Options.
@@ -655,7 +655,7 @@
                        llvm::cl::init(true));
 
 static llvm::cl::opt<bool>
-WarnUnusedMacros("Wunused_macros",
+WarnUnusedMacros("Wunused-macros",
          llvm::cl::desc("Warn for unused macros in the main translation unit"));
 
 static llvm::cl::opt<bool>





More information about the cfe-commits mailing list