summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-19 18:37:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-19 18:37:50 +0000
commite3c92bc672800f3fd0cf357dd5d57fdce7f01bb4 (patch)
treeffcef6837ba14d912662896032ee005f1b4623c6 /clang/lib/CodeGen/CodeGenModule.cpp
parent91668def8bb1cadb25c095914d01416f387d2350 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud