Don't build a StringLiteral expression with reference type when
authorRichard Smith <richard@metafoo.co.uk>
Mon, 21 Sep 2020 21:52:06 +0000 (14:52 -0700)
committerRichard Smith <richard@metafoo.co.uk>
Mon, 21 Sep 2020 22:25:19 +0000 (15:25 -0700)
commit0f6facca9701f6df87d13e55d70bd7111a0472aa
tree621f334fd855a6023460b16296d2e7f0da138ed1
parent6a6b06f5262bb96523eceef4a42fe8e60ae2a630
Don't build a StringLiteral expression with reference type when
performing list-initialization of a char array reference from a braced
string literal of a smaller size.
clang/lib/Sema/SemaInit.cpp
clang/test/CodeGenCXX/cxx0x-initializer-references.cpp