forked from OSchip/llvm-project
-Wlarge-by-value-copy may be awesome, but it really shouldn't be the one and
only -W flag which clang --help lists. llvm-svn: 167643
This commit is contained in:
parent
de63d36fb2
commit
4c487827bf
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue