diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2013-06-11 21:48:11 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2013-06-11 21:48:11 +0000 |
| commit | 188ddb14a82792f2d9405706ae38fccb79a066fd (patch) | |
| tree | ba970b016684d6cfab251871d64e7d9ebba2b779 /lib/CodeGen/CGExprComplex.cpp | |
| parent | edcf5112a571e622c88dbd1634867c386425718c (diff) | |
| download | clang-188ddb14a82792f2d9405706ae38fccb79a066fd.tar.gz clang-188ddb14a82792f2d9405706ae38fccb79a066fd.tar.bz2 clang-188ddb14a82792f2d9405706ae38fccb79a066fd.tar.xz | |
Correctly handle designated initializers which modify an array initialized
with a string. This case is sort of tricky because we can't modify the
StringLiteral used to represent such initializers.
We are forced to decompose the string into individual characters.
Fixes <rdar://problem/10465114>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
