================
Comment at: lib/Lex/Lexer.cpp:2836
@@ -2836,1 +2835,3 @@
+ if (!isASCII(*BufferPtr) && !isAllowedIDChar(C) &&
+ (isLexingRawMode() || !PP->isPreprocessedOutput())) {
// Non-ASCII characters tend to creep into source code unintentionally.
----------------
Richard Smith wrote:
> Do you need the isLexingRawMode() check here? I guess it doesn't matter if we
> drop the non-ASCII characters in that case?
It's about the right behavior when raw-lexing without a preprocessor. I'm not
sure what "the right behavior" is, though.
http://llvm-reviews.chandlerc.com/D346
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits