[PATCH] D156518: Fix handling of medial hyphens in Unicode Names.

2023-07-28 Thread Corentin Jabot via Phabricator via cfe-commits
cor3ntin added inline comments. Comment at: llvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp:100 +for (auto ChIt = Name.begin(); ChIt != Name.end(); + ChIt += IsBeforeMedial ? 3 : 1) { + char Ch = *ChIt; aaron.ballman wrote: > Parens here m

[PATCH] D156518: Fix handling of medial hyphens in Unicode Names.

2023-07-28 Thread Corentin Jabot via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG68410fbed769: Fix handling of medial hyphens in Unicode Names. (authored by cor3ntin). Changed prior to commit: https://reviews.llvm.org/D156518?v

[PATCH] D156518: Fix handling of medial hyphens in Unicode Names.

2023-07-28 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM Comment at: llvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp:100 +for (auto ChIt = Name.begin(); ChIt != Name.end(); + ChIt += IsBeforeMe

[PATCH] D156518: Fix handling of medial hyphens in Unicode Names.

2023-07-28 Thread Corentin Jabot via Phabricator via cfe-commits
cor3ntin updated this revision to Diff 545078. cor3ntin added a comment. Fix comment Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D156518/new/ https://reviews.llvm.org/D156518 Files: clang/docs/ReleaseNotes.rst clang/lib/Lex/LiteralSupport.cpp

[PATCH] D156518: Fix handling of medial hyphens in Unicode Names.

2023-07-28 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder added inline comments. Comment at: llvm/lib/Support/UnicodeNameToCodepoint.cpp:350 bool DoesStartWith = startsWith(Name, Item.Prefix, Strict, Consummed, -NameStart, NeedleStart, /*isPrefix*/ true); +

[PATCH] D156518: Fix handling of medial hyphens in Unicode Names.

2023-07-28 Thread Corentin Jabot via Phabricator via cfe-commits
cor3ntin created this revision. Herald added subscribers: mstorsjo, hiraditya, dschuff. Herald added a project: All. cor3ntin requested review of this revision. Herald added projects: clang, LLVM. Herald added subscribers: llvm-commits, cfe-commits. In a Unicode name was stored in a way that cause