Implement P1949
authorCorentin Jabot <corentin.jabot@gmail.com>
Wed, 18 Aug 2021 11:33:14 +0000 (07:33 -0400)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 18 Aug 2021 11:33:14 +0000 (07:33 -0400)
commit4e80636db71a1b6123d15ed1f9eda3979b4292de
tree12c0e2cec33e348a3d08649f972955e8580ec089
parentf22e5869a012af09e130d804bba441eff261b1fe
Implement P1949

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://wg21.link/p1949) was accepted by WG21 as a defect
report.
16 files changed:
clang/include/clang/Basic/CharInfo.h
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/assembler-with-cpp.c
clang/test/Preprocessor/ucn-allowed-chars.c
clang/test/Preprocessor/utf8-allowed-chars.c
clang/www/cxx_dr_status.html
clang/www/cxx_status.html
clang/www/make_cxx_dr_status