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

Ted Kremenek kremenek at apple.com
Fri May 30 09:42:02 PDT 2008


Author: kremenek
Date: Fri May 30 11:42:02 2008
New Revision: 51774

URL: http://llvm.org/viewvc/llvm-project?rev=51774&view=rev
Log:
Use llvm::cl::desc for description of the -Wimplicit-function-declaration option.

Patch by Holger Schurig!

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=51774&r1=51773&r2=51774&view=diff

==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Fri May 30 11:42:02 2008
@@ -489,8 +489,8 @@
    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.





More information about the cfe-commits mailing list