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 | 4a962f03bebef9e3c7d501580357a303638b2700 (patch) | |
tree | 731432d0b34ae42bc43a04c34d0e3015779702f1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | dd0bc7b560d081d49874991e94317ac8df97eae9 (diff) | |
download | llvm-4a962f03bebef9e3c7d501580357a303638b2700.zip llvm-4a962f03bebef9e3c7d501580357a303638b2700.tar.gz llvm-4a962f03bebef9e3c7d501580357a303638b2700.tar.bz2 |
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.)
llvm-svn: 191719
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions