diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-09-05 05:47:35 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-09-05 05:47:35 +0000 |
| commit | 38f1d680b41f8bb8deb72899c7a45aebaadd0e52 (patch) | |
| tree | 73991115456ae39bd22fa575be12e0bec58653d8 /lib/CodeGen/CGExpr.cpp | |
| parent | 017ab77655b262311a3550342ca19b85380f8f20 (diff) | |
| download | clang-38f1d680b41f8bb8deb72899c7a45aebaadd0e52.tar.gz clang-38f1d680b41f8bb8deb72899c7a45aebaadd0e52.tar.bz2 clang-38f1d680b41f8bb8deb72899c7a45aebaadd0e52.tar.xz | |
Enable -Wdangling-fields by default in Clang. I've run this warning over
a very large chunk of code and found zero false positives. I've only
found a few bugs, but that likely is because bugs of this nature
actually do manifest. We've also identified several bugs that were
caught by Valgrind, but would have been caught faster and more easily
with this warning.
If anyone has concerns, or this causes fallout on any build bots, lemme
know. I'm happy to just put it under -Wmost.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
