summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-11-13 06:25:15 +0000
committerNico Weber <nicolasweber@gmx.de>2012-11-13 06:25:15 +0000
commit7cc28804e2a9f177789e8e66dd2672edcb663b34 (patch)
tree396f3643ab1e43bfb6ba3259c88e9e439f6200a9 /clang/lib/Lex
parentb51bdd20d3479351e97f744495b7e507e5abe160 (diff)
downloadbcm5719-llvm-7cc28804e2a9f177789e8e66dd2672edcb663b34.tar.gz
bcm5719-llvm-7cc28804e2a9f177789e8e66dd2672edcb663b34.zip
UCNs in char literals are done (in LiteralSupport), remove FIXME. Expand UCN FIXME in LexNumericConstant.
llvm-svn: 167818
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r--clang/lib/Lex/Lexer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp
index 7983a6b3e86..6917645ca4f 100644
--- a/clang/lib/Lex/Lexer.cpp
+++ b/clang/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.
OpenPOWER on IntegriCloud