summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR/AVRISelLowering.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-03-24 01:14:25 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-03-24 01:14:25 +0000
commit49a6b6e91edfa67320fcde5d4c8455acab0010a3 (patch)
tree1eb06064b1abcfd64a4d76a75f56be2df4274cf8 /llvm/lib/Target/AVR/AVRISelLowering.cpp
parentc3ddb655ccfc6c10f1fb07e094ac85b0f5e53482 (diff)
downloadbcm5719-llvm-49a6b6e91edfa67320fcde5d4c8455acab0010a3.tar.gz
bcm5719-llvm-49a6b6e91edfa67320fcde5d4c8455acab0010a3.zip
Fix handling of initialization from parenthesized initializer list.
This change fixes a crash on initialization of a reference from ({}) during template instantiation and incidentally improves diagnostics. This reverts a prior attempt to handle this in r286721. Instead, we teach the initialization code that initialization cannot be performed if a source type is required and the initializer is an initializer list (which is not an expression and does not have a type), and likewise for function-style cast expressions. llvm-svn: 298676
Diffstat (limited to 'llvm/lib/Target/AVR/AVRISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud