diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2017-11-27 17:37:09 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2017-11-27 17:37:09 +0000 |
commit | 052436f76868808789b403a246a60859d5c9c60f (patch) | |
tree | 780dd4457ab778f49607536db984961d911573bf /llvm/lib/Support/BinaryStreamRef.cpp | |
parent | 85db2bf7b6e59e0d3a419c713010e31e5460ae55 (diff) | |
download | llvm-052436f76868808789b403a246a60859d5c9c60f.zip llvm-052436f76868808789b403a246a60859d5c9c60f.tar.gz llvm-052436f76868808789b403a246a60859d5c9c60f.tar.bz2 |
[analyzer] pr34766: Fix a crash on explicit std::initializer_list constructor.
We didn't support the following syntax:
(std::initializer_list<int>){12}
which suddenly produces CompoundLiteralExpr that contains
CXXStdInitializerListExpr.
Lift the assertion and instead pass the value through CompoundLiteralExpr
transparently, as it doesn't add much.
Differential Revision: https://reviews.llvm.org/D39803
llvm-svn: 319058
Diffstat (limited to 'llvm/lib/Support/BinaryStreamRef.cpp')
0 files changed, 0 insertions, 0 deletions