[PATCH] D123064: [Clang][C++23][WIP] P2071 Named universal character escapes
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 4 12:43:27 PDT 2022
cor3ntin created this revision.
Herald added subscribers: dexonsmith, hiraditya, mgorny, dschuff.
Herald added a project: All.
cor3ntin requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
! Missing tests, some cleanup still needed.
- Add a function in LLVM to map a name to a codepoint.
This using a try to minimize memory usage,
while allowing fast access.
- Add an utility to regenerate this data.
- Support named escape sequences with an extension warning.
I have not yet dealt with C++23 conformance extension warning,
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123064
Files:
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/include/clang/Lex/Lexer.h
clang/lib/Lex/Lexer.cpp
clang/lib/Lex/LiteralSupport.cpp
llvm/CMakeLists.txt
llvm/include/llvm/Support/Unicode.h
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/UnicodeNameToCodepoint.cpp
llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
llvm/utils/UnicodeData/CMakeLists.txt
llvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp
More information about the cfe-commits
mailing list