summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-05-30 16:42:02 +0000
committerTed Kremenek <kremenek@apple.com>2008-05-30 16:42:02 +0000
commit6bb6d9f1979eb3620239939e8602635bb73f06c4 (patch)
treec231e93f810aa999e8fb257101b9b90e4def5095
parent8595668ecae35e48192f106691d60df8c92f3729 (diff)
downloadbcm5719-llvm-6bb6d9f1979eb3620239939e8602635bb73f06c4.tar.gz
bcm5719-llvm-6bb6d9f1979eb3620239939e8602635bb73f06c4.zip
Use llvm::cl::desc for description of the -Wimplicit-function-declaration option.
Patch by Holger Schurig! llvm-svn: 51774
-rw-r--r--clang/Driver/clang.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index 714b03eca30..84df9de971a 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/Driver/clang.cpp
@@ -489,8 +489,8 @@ WarnUndefMacros("Wundef",
llvm::cl::desc("Warn on use of undefined macros in #if's"));
static llvm::cl::opt<bool>
-WarnImplicitFunctionDeclaration("Wimplicit-function-declaration"
- "Warn about use of implicitly defined functions");
+WarnImplicitFunctionDeclaration("Wimplicit-function-declaration",
+ llvm::cl::desc("Warn about uses of implicitly defined functions"));
/// InitializeDiagnostics - Initialize the diagnostic object, based on the
/// current command line option settings.
OpenPOWER on IntegriCloud