diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-19 18:37:50 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-19 18:37:50 +0000 |
commit | 3f7d995390009fede92b333a040da80e1ce90997 (patch) | |
tree | 6eafed95cc92216dbadebff6727389271af2a19f /lib/CodeGen/CodeGenModule.cpp | |
parent | b66158c299786042cd6277b163a2c20fd3d11da5 (diff) |
Add another IntExprEvaluator::Success overload to suck up remained of
manual setting of the Result.
- Idiom now enforces that result will always have correct width and
type; this exposed three new bugs:
o Enum constant decl value can have different width than type
(PR3173).
o EvaluateInteger should not run an IntExprEvaluator over
non-integral expressions.
o FloatExprEvaluate was not handling casts correctly (it was
evaluating the cast in the IntExprEvaluator!).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65053 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions