From: Richard Smith Date: Fri, 9 Nov 2012 23:18:31 +0000 (+0000) Subject: -Wlarge-by-value-copy may be awesome, but it really shouldn't be the one and X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f3edc5d4644d139501ece9e8c9926f64902ae52;p=clang -Wlarge-by-value-copy may be awesome, but it really shouldn't be the one and only -W flag which clang --help lists. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167643 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index b51d439082..6c94ea56ae 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -642,7 +642,7 @@ def ftemplate_backtrace_limit_EQ : Joined<["-"], "ftemplate-backtrace-limit=">, def ftest_coverage : Flag<["-"], "ftest-coverage">, 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.