]> granicus.if.org Git - clang/commit
Sema: When merging objc string literals, give the result a constant array type.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 25 Feb 2014 12:26:20 +0000 (12:26 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 25 Feb 2014 12:26:20 +0000 (12:26 +0000)
commit225d9cf75f9f7af8186e602ba856a9475401619b
treefac4a6a236d4f8bd15c8421cdd213a35552e1bb0
parent927053b1049b46512d7f7ef0cfc90d11858a55ef
Sema: When merging objc string literals, give the result a constant array type.

Also assert that we never create non-array string literals again.

PR18939.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202147 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Expr.cpp
lib/Sema/SemaExprObjC.cpp
test/SemaObjC/format-strings-objc.m