From 1afad8c890a55fd960037d77bfca845f6eb0d9b2 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Sun, 18 May 2014 18:37:59 +0000 Subject: [PATCH] Remove historical Unicode TODOs There's no immediate demand or plan to work on these. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209090 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/Lexer.cpp | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp index ff96cd99d3..21b51e13cb 100644 --- a/lib/Lex/Lexer.cpp +++ b/lib/Lex/Lexer.cpp @@ -10,19 +10,6 @@ // This file implements the Lexer and Token interfaces. // //===----------------------------------------------------------------------===// -// -// TODO: GCC Diagnostics emitted by the lexer: -// PEDWARN: (form feed|vertical tab) in preprocessing directive -// -// Universal characters, unicode, char mapping: -// WARNING: `%.*s' is not in NFKC -// WARNING: `%.*s' is not in NFC -// -// Other: -// TODO: Options to support: -// -fexec-charset,-fwide-exec-charset -// -//===----------------------------------------------------------------------===// #include "clang/Lex/Lexer.h" #include "UnicodeCharSets.h" @@ -174,7 +161,7 @@ Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *FromFile, /// expansion location that indicates where all lexed tokens should be /// "expanded from". /// -/// FIXME: It would really be nice to make _Pragma just be a wrapper around a +/// TODO: It would really be nice to make _Pragma just be a wrapper around a /// normal lexer that remaps tokens as they fly by. This would require making /// Preprocessor::Lex virtual. Given that, we could just dump in a magic lexer /// interface that could handle this stuff. This would pull GetMappedTokenLoc @@ -3385,7 +3372,7 @@ LexNextToken: // We parsed a # character. If this occurs at the start of the line, // it's actually the start of a preprocessing directive. Callback to // the preprocessor to handle it. - // FIXME: -fpreprocessed mode?? + // TODO: -fpreprocessed mode?? if (TokAtPhysicalStartOfLine && !LexingRawMode && !Is_PragmaLexer) goto HandleDirective; @@ -3551,7 +3538,7 @@ LexNextToken: // We parsed a # character. If this occurs at the start of the line, // it's actually the start of a preprocessing directive. Callback to // the preprocessor to handle it. - // FIXME: -fpreprocessed mode?? + // TODO: -fpreprocessed mode?? if (TokAtPhysicalStartOfLine && !LexingRawMode && !Is_PragmaLexer) goto HandleDirective; -- 2.40.0