diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-03-27 00:04:55 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-03-27 00:04:55 +0000 |
commit | 5adb5a84bfb4f2e5f1ea28fdfc6ee1cd9b622c60 (patch) | |
tree | 62d2f10595525d824ae3b5eb4bc79a67e9cb223e /lib/Frontend/CompilerInvocation.cpp | |
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
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions