[clang] [Clang] allow `` `@$ `` in raw string delimiters in C++26 (PR #93216)
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Tue May 28 12:45:01 PDT 2024
================
@@ -152,16 +151,17 @@ LLVM_READONLY inline bool isHexDigit(unsigned char c) {
/// Note that '_' is both a punctuation character and an identifier character!
LLVM_READONLY inline bool isPunctuation(unsigned char c) {
using namespace charinfo;
- return (InfoTable[c] & (CHAR_UNDER|CHAR_PERIOD|CHAR_RAWDEL|CHAR_PUNCT)) != 0;
+ return (InfoTable[c] &
+ (CHAR_UNDER | CHAR_PERIOD | CHAR_PUNCT | CHAR_PUNCT)) != 0;
----------------
zygoloid wrote:
`CHAR_PUNCT` is listed here twice now.
https://github.com/llvm/llvm-project/pull/93216
More information about the cfe-commits
mailing list