diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2013-10-01 00:28:29 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2013-10-01 00:28:29 +0000 |
| commit | 9b93f206d89dbf86805b610b417bb874f7f446e8 (patch) | |
| tree | e44e2e2d02300fe032299fad50d986102e2be946 /lib/CodeGen/CGExpr.cpp | |
| parent | 8a3f9e46cb988d2c664395b21910091e3730ae82 (diff) | |
| download | clang-9b93f206d89dbf86805b610b417bb874f7f446e8.tar.gz clang-9b93f206d89dbf86805b610b417bb874f7f446e8.tar.bz2 clang-9b93f206d89dbf86805b610b417bb874f7f446e8.tar.xz | |
Tweak changes in r186464 to avoid a crash.
Currently, IR generation can't handle file-scope compound literals with
non-constant initializers in C++.
Fixes PR17415 (the first crash in the bug).
(We should probably change (T){1,2,3} to use the same codepath as T{1,2,3} in
C++ eventually, given that the semantics of the latter are actually defined by
the standard.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
