[all-commits] [llvm/llvm-project] aee76c: [Clang] Add support for Unicode identifiers (UAX31...

cor3ntin via All-commits all-commits at lists.llvm.org
Sat Jul 23 05:08:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aee76cb59ca273d46db20cd7d23a252a2683ed6a
      https://github.com/llvm/llvm-project/commit/aee76cb59ca273d46db20cd7d23a252a2683ed6a
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2022-07-23 (Sat, 23 Jul 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Lex/Lexer.cpp
    M clang/test/Lexer/unicode.c
    M clang/www/c_status.html

  Log Message:
  -----------
  [Clang] Add support for Unicode identifiers (UAX31) in C2x mode.

This implements
N2836 Identifier Syntax using Unicode Standard Annex 31.

The feature was already implemented for C++,
and the semantics are the same.

Unlike C++ there was, afaict, no decision to
backport the feature in older languages mode,
so C17 and earlier are not modified and the
code point tables for these language modes are conserved.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D130416




More information about the All-commits mailing list