[PATCH] D125049: [pseudo] Only expand UCNs for raw_identifiers

2022-05-05 Thread Sam McCall via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG232cc446ff7b: [pseudo] Only expand UCNs for raw_identifiers (authored by sammccall). Changed prior to commit: https://reviews.llvm.org/D125049?vs=427490&id=427535#toc Repository: rG LLVM Github Monor

[PATCH] D125049: [pseudo] Only expand UCNs for raw_identifiers

2022-05-05 Thread Haojian Wu via Phabricator via cfe-commits
hokein accepted this revision. hokein added inline comments. This revision is now accepted and ready to land. Comment at: clang-tools-extra/pseudo/test/crash/backslashes.c:2 +// We used to try to interpret these backslashes as UCNs. +// RUN: clang-pseudo -source=%s +\ ---

[PATCH] D125049: [pseudo] Only expand UCNs for raw_identifiers

2022-05-05 Thread Sam McCall via Phabricator via cfe-commits
sammccall updated this revision to Diff 427490. sammccall added a comment. oops, forgot testcase Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D125049/new/ https://reviews.llvm.org/D125049 Files: clang-tools-extra/pseudo/include/clang-pseudo/Toke

[PATCH] D125049: [pseudo] Only expand UCNs for raw_identifiers

2022-05-05 Thread Sam McCall via Phabricator via cfe-commits
sammccall updated this revision to Diff 427475. sammccall added a comment. rename testcase to be more descriptive, add comment Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D125049/new/ https://reviews.llvm.org/D125049 Files: clang-tools-extra/ps

[PATCH] D125049: [pseudo] Only expand UCNs for raw_identifiers

2022-05-05 Thread Sam McCall via Phabricator via cfe-commits
sammccall created this revision. sammccall added a reviewer: hokein. Herald added a project: All. sammccall requested review of this revision. Herald added subscribers: cfe-commits, alextsao1999. Herald added a project: clang-tools-extra. It turns out clang::expandUCNs only works on tokens that co