diff options
author | Seth Cantrell <seth.cantrell@gmail.com> | 2012-01-18 12:27:08 +0000 |
---|---|---|
committer | Seth Cantrell <seth.cantrell@gmail.com> | 2012-01-18 12:27:08 +0000 |
commit | 5393e213f1d86a64e8e6b549c0ef76f9286ce279 (patch) | |
tree | b29d3b307726f0771e438c7993d529e725aaa523 /lib | |
parent | 79f0a8262b330f5e1ffeb3af94e80c723d65ee85 (diff) |
stop claiming unicode escape sequences are too long in strings, because they never are
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148391 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Lex/LiteralSupport.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Lex/LiteralSupport.cpp b/lib/Lex/LiteralSupport.cpp index 8265c6fde4..290455f3ca 100644 --- a/lib/Lex/LiteralSupport.cpp +++ b/lib/Lex/LiteralSupport.cpp @@ -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; |