llvm-svn: 106011
This commit is contained in:
Chris Lattner 2010-06-15 18:05:34 +00:00
parent c1b1729b66
commit a8687ae490
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ Sema::ActOnStringLiteral(const Token *StringToks, unsigned NumStringToks) {
if (Literal.Pascal) StrTy = Context.UnsignedCharTy;
// A C++ string literal has a const-qualified element type (C++ 2.13.4p1).
if (getLangOptions().CPlusPlus || getLangOptions().ConstStrings )
if (getLangOptions().CPlusPlus || getLangOptions().ConstStrings)
StrTy.addConst();
// Get an array type for the string, according to C99 6.4.5. This includes