diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-11-17 23:11:54 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-11-17 23:11:54 +0000 |
commit | af84ec0a9612261a56085aa48b4cce3f06cb8805 (patch) | |
tree | 28d26398aa148f35677411470f85de216c465928 /llvm/lib/Analysis | |
parent | afe16a71f77798be1314e046585367c5aca0d2d1 (diff) | |
download | bcm5719-llvm-af84ec0a9612261a56085aa48b4cce3f06cb8805.tar.gz bcm5719-llvm-af84ec0a9612261a56085aa48b4cce3f06cb8805.zip |
Introduce option -Wargument-larger-than[=N] which warns about function definitions if they take by-value
or return by-value any POD that is larger than some threshold (default is 64 bytes).
Implements rdar://8548050.
llvm-svn: 119583
Diffstat (limited to 'llvm/lib/Analysis')
0 files changed, 0 insertions, 0 deletions