aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/Support/UnicodeCaseFold.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2024-01-24 19:17:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2024-04-06 20:13:49 +0000
commit7a6dacaca14b62ca4b74406814becb87a3fefac0 (patch)
tree273a870ac27484bb1f5ee55e7ef0dc0d061f63e7 /contrib/llvm-project/llvm/lib/Support/UnicodeCaseFold.cpp
parent46c59ea9b61755455ff6bf9f3e7b834e1af634ea (diff)
parent4df029cc74e5ec124f14a5682e44999ce4f086df (diff)
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/UnicodeCaseFold.cpp')
-rw-r--r--contrib/llvm-project/llvm/lib/Support/UnicodeCaseFold.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/UnicodeCaseFold.cpp b/contrib/llvm-project/llvm/lib/Support/UnicodeCaseFold.cpp
index e8c24db38915..abf6df8d1e3c 100644
--- a/contrib/llvm-project/llvm/lib/Support/UnicodeCaseFold.cpp
+++ b/contrib/llvm-project/llvm/lib/Support/UnicodeCaseFold.cpp
@@ -2,11 +2,11 @@
//
// This file was generated by utils/unicode-case-fold.py from the Unicode
// case folding database at
-// http://www.unicode.org/Public/15.0.0/ucd/CaseFolding.txt
+// http://www.unicode.org/Public/15.1.0/ucd/CaseFolding.txt
//
// To regenerate this file, run:
// utils/unicode-case-fold.py \
-// "http://www.unicode.org/Public/15.0.0/ucd/CaseFolding.txt" \
+// "http://www.unicode.org/Public/15.1.0/ucd/CaseFolding.txt" \
// > lib/Support/UnicodeCaseFold.cpp
//
//===----------------------------------------------------------------------===//
@@ -511,6 +511,9 @@ int llvm::sys::unicode::foldCharSimple(int C) {
// GREEK CAPITAL LETTER ETA WITH PROSGEGRAMMENI
if (C == 0x1fcc)
return 0x1fc3;
+ // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND OXIA
+ if (C == 0x1fd3)
+ return 0x0390;
if (C < 0x1fd8)
return C;
// 2 characters
@@ -521,6 +524,9 @@ int llvm::sys::unicode::foldCharSimple(int C) {
// 2 characters
if (C <= 0x1fdb)
return C + -100;
+ // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND OXIA
+ if (C == 0x1fe3)
+ return 0x03b0;
if (C < 0x1fe8)
return C;
// 2 characters
@@ -741,6 +747,9 @@ int llvm::sys::unicode::foldCharSimple(int C) {
// 80 characters
if (C <= 0xabbf)
return C + -38864;
+ // LATIN SMALL LIGATURE LONG S T
+ if (C == 0xfb05)
+ return 0xfb06;
if (C < 0xff21)
return C;
// 26 characters