]> granicus.if.org Git - clang/commitdiff
-Wlarge-by-value-copy may be awesome, but it really shouldn't be the one and
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Nov 2012 23:18:31 +0000 (23:18 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Nov 2012 23:18:31 +0000 (23:18 +0000)
only -W flag which clang --help lists.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167643 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Options.td

index b51d439082cd6a4ff92bc4c40a4784d7da3f305d..6c94ea56ae346d8655c1f157c57723e2eb40539a 100644 (file)
@@ -642,7 +642,7 @@ def ftemplate_backtrace_limit_EQ : Joined<["-"], "ftemplate-backtrace-limit=">,
 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.