aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-11-09 23:18:31 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-11-09 23:18:31 +0000
commit0f3edc5d4644d139501ece9e8c9926f64902ae52 (patch)
tree7e059b5b95e6cf568914cbb6485a7d7b8db801a3
parenta67d503aa19700ff849fc590039b6bb8ced4ebf0 (diff)
-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
-rw-r--r--include/clang/Driver/Options.td2
1 files changed, 1 insertions, 1 deletions
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<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.