Avoid undefined behavior in signed integer negation. Patch by Ahmed Charles.
authorEli Friedman <eli.friedman@gmail.com>
Thu, 13 Oct 2011 22:49:56 +0000 (22:49 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 13 Oct 2011 22:49:56 +0000 (22:49 +0000)
commit90406e18b8590d9588a76b849937d643dd3dc8b5
treeeccf6de90468c0ce86d1f70b713d38ceabf947a0
parent8e4d0429de3d44a4c5b02b3d27cb0b78520609ba
Avoid undefined behavior in signed integer negation.  Patch by Ahmed Charles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141905 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/raw_ostream.cpp