[all-commits] [llvm/llvm-project] 3a1568: [Clang] Do not warn on UTF-16 -> UTF-32 conversion...
Corentin Jabot via All-commits
all-commits at lists.llvm.org
Sun Oct 19 00:26:43 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3a15687d1c789ebac04bf394ec31f95331c74bf8
https://github.com/llvm/llvm-project/commit/3a15687d1c789ebac04bf394ec31f95331c74bf8
Author: Corentin Jabot <corentinjabot at gmail.com>
Date: 2025-10-19 (Sun, 19 Oct 2025)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
M clang/test/SemaCXX/warn-implicit-unicode-conversions.cpp
Log Message:
-----------
[Clang] Do not warn on UTF-16 -> UTF-32 conversions. (#163927)
UTF-16 to UTF-16 conversions seems widespread,
and lone surrogate have a distinct representation in UTF-32.
Lets not warn on this case to make the warning easier to adopt. This
follows SG-16 guideline
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3695r2.html#changes-since-r1
Fixes #163719
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list