[PATCH] D105737: Implement delimited escape sequences.

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 9 14:09:25 PDT 2021


cor3ntin created this revision.
cor3ntin requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This is a proposed C++ paper (P2290R1) that has not been accepted yet

\x{XXXX} \u{XXXX} and \o{OOOO} are accepted in all languages mode
in characters and string literals.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105737

Files:
  clang/include/clang/Basic/DiagnosticLexKinds.td
  clang/lib/Lex/LiteralSupport.cpp
  clang/test/Lexer/char-escapes-delimited.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105737.357634.patch
Type: text/x-patch
Size: 9106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210709/57a95bc2/attachment.bin>


More information about the cfe-commits mailing list