[cfe-commits] r167643 - /cfe/trunk/include/clang/Driver/Options.td

Richard Smith richard-llvm at metafoo.co.uk
Fri Nov 9 15:18:31 PST 2012


Author: rsmith
Date: Fri Nov  9 17:18:31 2012
New Revision: 167643

URL: http://llvm.org/viewvc/llvm-project?rev=167643&view=rev
Log:
-Wlarge-by-value-copy may be awesome, but it really shouldn't be the one and
only -W flag which clang --help lists.

Modified:
    cfe/trunk/include/clang/Driver/Options.td

Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=167643&r1=167642&r2=167643&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Fri Nov  9 17:18:31 2012
@@ -642,7 +642,7 @@
 def ftest_coverage : Flag<["-"], "ftest-coverage">, Group<f_Group>;
 def Wlarge_by_value_copy_def : Flag<["-"], "Wlarge-by-value-copy">,
   HelpText<"Warn if a function definition returns or accepts an object larger "
-           "in bytes that a given value">;
+           "in bytes that a given value">, Flags<[HelpHidden]>;
 def Wlarge_by_value_copy_EQ : Joined<["-"], "Wlarge-by-value-copy=">, Flags<[CC1Option]>;
 
 // Just silence warnings about -Wlarger-than,  -Wframe-larger-than for now.





More information about the cfe-commits mailing list