[PATCH] Don't warn about Unicode characters in -E mode
Jordan Rose
jordan_rose at apple.com
Tue Jan 29 17:04:20 PST 2013
Treat raw-lexing mode like preprocessed-output mode, and preserve all the Unicode characters.
This does have the unfortunate behavior of making our Unicode-whitespace-as-whitespace extension only enabled in non-preprocessed-output modes, which means preprocessing could end up expanding Unicode whitespace "tokens" all over the place.
Hi rsmith,
http://llvm-reviews.chandlerc.com/D346
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D346?vs=812&id=816#toc
Files:
include/clang/Frontend/PreprocessorOutputOptions.h
include/clang/Lex/Preprocessor.h
lib/Frontend/CompilerInstance.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Lex/Lexer.cpp
test/Lexer/unicode.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D346.2.patch
Type: text/x-patch
Size: 7841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130129/4362e1a6/attachment.bin>
More information about the cfe-commits
mailing list