summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-08-05 02:51:59 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-08-05 02:51:59 +0000
commitfe97165587089fd2872c78332619264d7a3125ff (patch)
treef8f797d731c2c78a9f1fc779589b8f6379c0871c /clang/lib/CodeGen/CodeGenModule.cpp
parent85f60cc5a83fa133dc7f8adad5e114a92b82b0b5 (diff)
downloadbcm5719-llvm-fe97165587089fd2872c78332619264d7a3125ff.tar.gz
bcm5719-llvm-fe97165587089fd2872c78332619264d7a3125ff.zip
If the UnaryOperator has non-location type, use its type to create the
constant value. If the UnaryOperator has location type, create the constant with int type and pointer width. This fixes the bug that all pointer increments 'p++' evaluated to Unknown. llvm-svn: 78147
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud