UCNs in char literals are done (in LiteralSupport), remove FIXME. Expand UCN FIXME...
authorNico Weber <nicolasweber@gmx.de>
Tue, 13 Nov 2012 06:25:15 +0000 (06:25 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 13 Nov 2012 06:25:15 +0000 (06:25 +0000)
llvm-svn: 167818

clang/lib/Lex/Lexer.cpp

index 7983a6b..6917645 100644 (file)
@@ -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.