aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/BugReporter.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-18 00:32:53 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-18 00:32:53 +0000
commita135975d4257ccc83f13b607b29d882bb00c80b6 (patch)
tree82539bcb33db719b9123d1d94aef6bb64fef8b01 /lib/Analysis/BugReporter.cpp
parent0cd7fc28d4f69b281522b1bc96decd2b92cfd812 (diff)
Convert isIntegerConstantExpr to use ASTContext::MakeIntValue.
- This idiom ensures that the result will have the right width and type. - Tested on most of x86_64/llvm-test to satisfy my paranoia. - This fixes at least the following bugs: o UnaryTypeTraitExpr wasn't setting the width correctly. o Arithmetic on _Bool wasn't setting the width correctly. And probably a number more. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
0 files changed, 0 insertions, 0 deletions