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 | e3c92bc672800f3fd0cf357dd5d57fdce7f01bb4 (patch) | |
tree | ffcef6837ba14d912662896032ee005f1b4623c6 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 91668def8bb1cadb25c095914d01416f387d2350 (diff) | |
download | bcm5719-llvm-e3c92bc672800f3fd0cf357dd5d57fdce7f01bb4.tar.gz bcm5719-llvm-e3c92bc672800f3fd0cf357dd5d57fdce7f01bb4.zip |
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!).
llvm-svn: 65053
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions