From d77b251b06b8384d23f4f4d726eb5fb65192f390 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 14 Jan 2009 18:56:36 +0000 Subject: [PATCH] Fix typo and spelling of -Wunused-macros. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62239 91177308-0d34-0410-b5e6-96231b3b80d8 --- Driver/clang.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 5f3a554dbb..c5aac3773e 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -197,7 +197,7 @@ NoCaretDiagnostics("fno-caret-diagnostics", static llvm::cl::opt 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 @@ SuppressSystemWarnings("suppress-system-warnings", llvm::cl::init(true)); static llvm::cl::opt -WarnUnusedMacros("Wunused_macros", +WarnUnusedMacros("Wunused-macros", llvm::cl::desc("Warn for unused macros in the main translation unit")); static llvm::cl::opt -- 2.40.0