[cfe-commits] [PATCH] Validate C99 and C++03's set of UCNs
Jordan Rose
jordan_rose at apple.com
Mon Jan 28 11:33:08 PST 2013
- Protect validation set with a mutex. (Validation still only happens in debug builds.)
- Warn about UCNs referring to surrogate characters under -Wunicode only, rather than try to come up with complicated logic for whether -Wunicode or -Wc++11-compat has a higher warning level. (We could do it, but it's probably not worth it.)
Hi rsmith,
http://llvm-reviews.chandlerc.com/D327
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D327?vs=770&id=794#toc
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticLexKinds.td
lib/Lex/Lexer.cpp
lib/Lex/UnicodeCharSets.h
test/Preprocessor/ucn-allowed-chars.c
test/Preprocessor/utf8-allowed-chars.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D327.3.patch
Type: text/x-patch
Size: 33457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130128/1776b85a/attachment.bin>
More information about the cfe-commits
mailing list