Fix typo and spelling of -Wunused-macros.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62239 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 5f3a554..c5aac37 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -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>