summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2019-02-11 22:54:27 +0000
committerEli Friedman <efriedma@quicinc.com>2019-02-11 22:54:27 +0000
commit88fccbdea70d988f360baa7b6b0cea618518ee07 (patch)
tree47d8a4b14aef018c2a22fabf8ac0586cfb13bfda /lldb/source/Plugins/ScriptInterpreter/Python
parent9d5a089bf544e5d7cd815591706afb2ea3784c10 (diff)
downloadbcm5719-llvm-88fccbdea70d988f360baa7b6b0cea618518ee07.tar.gz
bcm5719-llvm-88fccbdea70d988f360baa7b6b0cea618518ee07.zip
[Sema] Mark GNU compound literal array init as an rvalue.
Basically the same issue as string init, except it didn't really have any visible consequences before I removed the implicit lvalue-to-rvalue conversion from CodeGen. While I'm here, a couple minor drive-by cleanups: IgnoreParens never returns a ConstantExpr, and there was a potential crash with string init involving a ChooseExpr. The analyzer test change maybe indicates we could simplify the analyzer code a little with this fix? Apparently a hack was added to support lvalues in initializers in r315750, but I'm not really familiar with the relevant code. Fixes regression reported in the kernel build at https://bugs.llvm.org/show_bug.cgi?id=40430#c6 . Differential Revision: https://reviews.llvm.org/D58069 llvm-svn: 353762
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud