[all-commits] [llvm/llvm-project] 31f485: [Clang] Allow additional mathematical symbols in i...
cor3ntin via All-commits
all-commits at lists.llvm.org
Fri Dec 16 01:21:03 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 31f4859c3e4d261d4a45118bb77d453138a6f7a9
https://github.com/llvm/llvm-project/commit/31f4859c3e4d261d4a45118bb77d453138a6f7a9
Author: Corentin Jabot <corentinjabot at gmail.com>
Date: 2022-12-16 (Fri, 16 Dec 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/lib/Lex/Lexer.cpp
M clang/lib/Lex/UnicodeCharSets.h
M clang/test/Driver/autocomplete.c
M clang/test/Lexer/unicode.c
Log Message:
-----------
[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
More information about the All-commits
mailing list