diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2022-10-30 23:20:00 +0100 |
---|---|---|
committer | Corentin Jabot <corentinjabot@gmail.com> | 2022-12-16 10:20:49 +0100 |
commit | 31f4859c3e4d261d4a45118bb77d453138a6f7a9 (patch) | |
tree | 3bdeb755c799ee0e9014a37d4ba069140ea83a10 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 2c8e7b2257e52eb713f623a756bb0e351ff99ea9 (diff) | |
download | llvm-31f4859c3e4d261d4a45118bb77d453138a6f7a9.zip llvm-31f4859c3e4d261d4a45118bb77d453138a6f7a9.tar.gz llvm-31f4859c3e4d261d4a45118bb77d453138a6f7a9.tar.bz2 |
[Clang] Allow additional mathematical symbols in identifiers.
Implement the proposed UAX Profile
"Mathematical notation profile for default identifiers".
This implements a not-yet approved Unicode for a vetted
UAX31 identifier profile
https://www.unicode.org/L2/L2022/22230-math-profile.pdf
This change mitigates the reported disruption caused
by the implementation of UAX31 in C++ and C2x,
as these mathematical symbols are commonly used in the
scientific community.
Fixes #54732
Reviewed By: tahonermann, #clang-language-wg
Differential Revision: https://reviews.llvm.org/D137051
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions