[PATCH] D137051: [Clang] Allow additional mathematical symbols in identifiers.
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 30 15:25:25 PDT 2022
cor3ntin created this revision.
Herald added a project: All.
cor3ntin requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Implement the proposed UAX Profile
"Mathematical notation profile for default identifiers".
This implements a not-yet approved Unicode for a vetted
UAX32 identifier profile
https://www.unicode.org/L2/L2022/22230-math-profile.pdf
This change mitigates the reported disruption caused
by the implementation of UAX32 in C++ and C2x,
as these mathematical symbols are commonly used in the
scientific community.
Fixes #54732
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137051
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/lib/Lex/Lexer.cpp
clang/lib/Lex/UnicodeCharSets.h
clang/test/Driver/autocomplete.c
clang/test/Lexer/unicode.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137051.471881.patch
Type: text/x-patch
Size: 14141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221030/e6df6cf9/attachment-0001.bin>
More information about the cfe-commits
mailing list