[cfe-commits] [PATCH] Support for universal character names in identifiers

Jordan Rose jordan_rose at apple.com
Tue Jan 22 13:41:46 PST 2013


  Addresses most comments from before, and now diagnoses illegal UCNs in #if 0 blocks. This currently uses the presence of a preprocessor as a heuristic to warn even in raw mode.

Hi rsmith,

http://llvm-reviews.chandlerc.com/D312

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D312?vs=732&id=749#toc

Files:
  include/clang/Basic/ConvertUTF.h
  include/clang/Basic/DiagnosticLexKinds.td
  include/clang/Lex/Lexer.h
  include/clang/Lex/Token.h
  lib/Lex/Lexer.cpp
  lib/Lex/LiteralSupport.cpp
  lib/Lex/Preprocessor.cpp
  test/CXX/over/over.oper/over.literal/p8.cpp
  test/FixIt/fixit-unicode.c
  test/Preprocessor/ucn-pp-identifier.c
  test/Sema/ucn-cstring.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D312.2.patch
Type: text/x-patch
Size: 30825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130122/6b0b1393/attachment.bin>


More information about the cfe-commits mailing list