stop claiming unicode escape sequences are too long in strings, because they never are
llvm-svn: 148391
This commit is contained in:
parent
02f8605974
commit
9c2d6f0279
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue