[PATCH] D104975: Implement P1949

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 26 06:09:29 PDT 2021


cor3ntin created this revision.
cor3ntin requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This adds the Unicode 13 data for XID_Start and XID_Continue.
The definition of valid identifier is changed in all C++ modes
as P1949 <https://reviews.llvm.org/P1949> was accepted by WG21 as a defect report.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104975

Files:
  clang/include/clang/Basic/DiagnosticLexKinds.td
  clang/lib/Lex/Lexer.cpp
  clang/lib/Lex/UnicodeCharSets.h
  clang/test/CXX/drs/dr1xx.cpp
  clang/test/CXX/drs/dr2xx.cpp
  clang/test/CXX/drs/dr6xx.cpp
  clang/test/FixIt/fixit-unicode.c
  clang/test/Lexer/unicode.c
  clang/test/Parser/cxx11-user-defined-literals.cpp
  clang/test/Preprocessor/ucn-allowed-chars.c
  clang/test/Preprocessor/ucn-pp-identifier.c
  clang/test/Preprocessor/utf8-allowed-chars.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104975.354672.patch
Type: text/x-patch
Size: 38817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210626/4eb971e7/attachment-0001.bin>


More information about the cfe-commits mailing list