[cfe-commits] r167818 - /cfe/trunk/lib/Lex/Lexer.cpp

Nico Weber nicolasweber at gmx.de
Mon Nov 12 22:25:15 PST 2012


Author: nico
Date: Tue Nov 13 00:25:15 2012
New Revision: 167818

URL: http://llvm.org/viewvc/llvm-project?rev=167818&view=rev
Log:
UCNs in char literals are done (in LiteralSupport), remove FIXME. Expand UCN FIXME in LexNumericConstant.

Modified:
    cfe/trunk/lib/Lex/Lexer.cpp

Modified: cfe/trunk/lib/Lex/Lexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/Lexer.cpp?rev=167818&r1=167817&r2=167818&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/Lexer.cpp (original)
+++ cfe/trunk/lib/Lex/Lexer.cpp Tue Nov 13 00:25:15 2012
@@ -1553,7 +1553,7 @@
   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 @@
     // 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.





More information about the cfe-commits mailing list