commit | 5adb5a84bfb4f2e5f1ea28fdfc6ee1cd9b622c60 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Sun Mar 27 00:04:55 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Sun Mar 27 00:04:55 2011 +0000 |
tree | 62d2f10595525d824ae3b5eb4bc79a67e9cb223e | |
parent | 9172aa685f3a1cbf991a2c1cd40905e4d64bfdf6 [diff] |
Add -f[no-]strict-overflow to the Clang driver. Use it to set the default for -fwrapv if that flag isn't specified explicitly. We always prefer an explict setting of -fwrapv when present. Also adds support for -fno-wrapv to allow disabling -fwrapv even when -fno-strict-overflow is passed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128353 91177308-0d34-0410-b5e6-96231b3b80d8