]> granicus.if.org Git - clang/commit
Fixup -ftrapv to be more gcc compatible. -ftrapu (for want of a
authorMike Stump <mrs@apple.com>
Thu, 2 Apr 2009 01:03:55 +0000 (01:03 +0000)
committerMike Stump <mrs@apple.com>
Thu, 2 Apr 2009 01:03:55 +0000 (01:03 +0000)
commit5d8b2cf9fd704f6ca5e33525803a65421c0b440e
tree32714352ef613ea0b7c320c8b275a3244a8c4144
parent67f496497532a8b58b8bae11772aea858124475c
Fixup -ftrapv to be more gcc compatible.  -ftrapu (for want of a
better name) is the option that SmallTalk can use to intercept all
overflows, including unsigned.  I added some testcases so we don't
break anything.

Also included is another patch from David for += and friends.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68267 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.h
include/clang/Driver/Options.def
lib/CodeGen/CGExprScalar.cpp
tools/clang-cc/clang-cc.cpp