commit | 3532fdd1db8ff6f353f2a5b215cebe3e0e2ff3c2 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Nov 17 23:11:54 2010 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Nov 17 23:11:54 2010 +0000 |
tree | db6a848f7bc2bd18e2137862feafdb8612f34eea | |
parent | fdda17179047ff0b5e28cc777dc89ebc42f083cf [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119583 91177308-0d34-0410-b5e6-96231b3b80d8