summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-02-25 19:45:34 +0000
committerJordan Rose <jordan_rose@apple.com>2013-02-25 19:45:34 +0000
commit77cdb53cdf91689ea27c4e75355d76fcb81c8fb4 (patch)
treebedf7d38c01f0542c3504e37eb560241f563198f /clang/lib/CodeGen/CodeGenModule.cpp
parenta221e4e89cc3cba7b306716a7c7a5f287312c7f0 (diff)
downloadbcm5719-llvm-77cdb53cdf91689ea27c4e75355d76fcb81c8fb4.tar.gz
bcm5719-llvm-77cdb53cdf91689ea27c4e75355d76fcb81c8fb4.zip
[analyzer] Handle reference parameters with default values.
r175026 added support for default values, but didn't take reference parameters into account, which expect the default argument to be an lvalue. Use createTemporaryRegionIfNeeded if we can evaluate the default expr as an rvalue but the expected result is an lvalue. Fixes the most recent report of PR12915. The original report predates default argument support, so that can't be it. llvm-svn: 176042
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud