[PATCH] D129664: [Clang] Adjust extension warnings for delimited sequences

Jakub JelĂ­nek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 31 01:11:20 PDT 2022


jakubjelinek added a comment.

While accepting all these inside of string and character literals in C and C++20 and older is fine, accepting them inside of identifiers can change meaning of valid programs.
https://gcc.gnu.org/pipermail/gcc-patches/2022-August/600620.html
#define z(x) 0
#define a z(
int x = a\N{LATIN SMALL LETTER U WITH DIAERESIS});
int y = a\u{1234});
int z = a\U{12345678});


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129664/new/

https://reviews.llvm.org/D129664



More information about the cfe-commits mailing list