diff options
| author | Corentin Jabot <corentinjabot@gmail.com> | 2023-06-23 13:02:37 +0200 |
|---|---|---|
| committer | Corentin Jabot <corentinjabot@gmail.com> | 2023-07-12 08:03:23 +0200 |
| commit | 304e97469455b57f6496f68fef569eeaed3a2cd8 (patch) | |
| tree | 0e3e341478bbdd5fdf419b1ae082a3b29f15c2ca /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
| parent | 20ae2d200dc94b051757174ec0f3a03103b8e1e2 (diff) | |
| download | llvm-304e97469455b57f6496f68fef569eeaed3a2cd8.zip llvm-304e97469455b57f6496f68fef569eeaed3a2cd8.tar.gz llvm-304e97469455b57f6496f68fef569eeaed3a2cd8.tar.bz2 | |
[Clang] Correctly handle $, @, and ` when represented as UCN
This covers
* P2558R2 (C++, wg21.link/P2558)
* N2701 (C, https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2701.htm)
* N3124 (C, https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3124.pdf)
This patch
* Disallow representing $ as a UCN in all language mode, which did not
properly work (see GH62133), and which in made ill-formed in
C++ and C by P2558 and N3124 respectively
* Allow a UCN for any character in C2X, in string and character
literals
Fixes #62133
Reviewed By: #clang-language-wg, tahonermann
Differential Revision: https://reviews.llvm.org/D153621
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions
