stop claiming unicode escape sequences are too long in strings, because they never are

llvm-svn: 148391
This commit is contained in:
Seth Cantrell 2012-01-18 12:27:08 +00:00
parent 02f8605974
commit 9c2d6f0279
1 changed files with 0 additions and 2 deletions

View File

@ -281,8 +281,6 @@ static void EncodeUCNEscape(const char *&ThisTokBuf, const char *ThisTokEnd,
ResultBuf += 2;
return;
}
// FIXME: We shouldn't print a diagnostic for UTF-16 mode.
if (Diags) Diags->Report(Loc, diag::warn_ucn_escape_too_large);
// Convert to UTF16.
UcnVal -= 0x10000;