diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-11-18 00:20:36 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-11-18 00:20:36 +0000 |
commit | ef6c8da50fac204fe9dca3061cd17ac383504974 (patch) | |
tree | e37e2d4d17f6b53f036923e632e49b95ae811456 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 64aaddcd64e04d7f1e0324e454915640925ef405 (diff) | |
download | bcm5719-llvm-ef6c8da50fac204fe9dca3061cd17ac383504974.tar.gz bcm5719-llvm-ef6c8da50fac204fe9dca3061cd17ac383504974.zip |
-Rename -Wargument-larger-than -> -Wlarge-by-value-copy
-Improve the diagnostic message
-Add some comments
Suggestions by Chris.
llvm-svn: 119594
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 466dfbd9af4..b1d6adb94ba 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1373,7 +1373,7 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, Opts.MathErrno = Args.hasArg(OPT_fmath_errno); Opts.InstantiationDepth = Args.getLastArgIntValue(OPT_ftemplate_depth, 1024, Diags); - Opts.ArgumentLargerThan = Args.getLastArgIntValue(OPT_Wargument_larger_than, + Opts.NumLargeByValueCopy = Args.getLastArgIntValue(OPT_Wlarge_by_value_copy, 0, Diags); Opts.NeXTRuntime = !Args.hasArg(OPT_fgnu_runtime); Opts.ObjCConstantStringClass = |