[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-commits
Subject:    [cfe-commits] r51774 - /cfe/trunk/Driver/clang.cpp
From:       Ted Kremenek <kremenek () apple ! com>
Date:       2008-05-30 16:42:02
Message-ID: 200805301642.m4UGg29v029994 () zion ! cs ! uiuc ! edu
[Download RAW message or body]

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.


_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic