-Rename -Wargument-larger-than -> -Wlarge-by-value-copy
commit6778461c9579873a27f1cbcbf1750e853a0f9aea
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Thu, 18 Nov 2010 00:20:36 +0000 (18 00:20 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Thu, 18 Nov 2010 00:20:36 +0000 (18 00:20 +0000)
treeef5effa3278d65dad0135ef9fbf50206ab140b39
parent4eebc1bea9841c7b3a703b476107df571ea2b802
-Rename -Wargument-larger-than -> -Wlarge-by-value-copy
-Improve the diagnostic message
-Add some comments

Suggestions by Chris.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119594 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/LangOptions.h
include/clang/Driver/CC1Options.td
include/clang/Driver/Options.td
include/clang/Sema/Sema.h
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaDecl.cpp
test/SemaCXX/warn-large-by-value-copy.cpp [moved from test/SemaCXX/warn-argument-larger-than.cpp with 60% similarity]