diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-11-13 06:25:15 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-11-13 06:25:15 +0000 |
commit | dd81731d82a33a242e7b088e249e56873ef52807 (patch) | |
tree | 89121080931d89f73a7f611ac35dae4964778b8e | |
parent | 8682b93b3491facc9a42eb87b78bb9d8c18a0739 (diff) |
UCNs in char literals are done (in LiteralSupport), remove FIXME. Expand UCN FIXME in LexNumericConstant.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167818 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Lex/Lexer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp index 7983a6b3e8..6917645ca4 100644 --- a/lib/Lex/Lexer.cpp +++ b/lib/Lex/Lexer.cpp @@ -1553,7 +1553,7 @@ void Lexer::LexNumericConstant(Token &Result, const char *CurPtr) { unsigned Size; char C = getCharAndSize(CurPtr, Size); char PrevCh = 0; - while (isNumberBody(C)) { // FIXME: UCNs. + while (isNumberBody(C)) { // FIXME: UCNs in ud-suffix. CurPtr = ConsumeChar(CurPtr, Size, Result); PrevCh = C; C = getCharAndSize(CurPtr, Size); @@ -1818,7 +1818,6 @@ void Lexer::LexCharConstant(Token &Result, const char *CurPtr, // Skip escaped characters. if (C == '\\') { // Skip the escaped character. - // FIXME: UCN's getAndAdvanceChar(CurPtr, Result); } else if (C == '\n' || C == '\r' || // Newline. (C == 0 && CurPtr-1 == BufferEnd)) { // End of file. |