\u<DIGIT>{...} was incorrectly parsed as a valid UCN instead
of emitting a diagnostic, causing an assertion failure.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D139889
[Clang] Fix a crash when encountering an ill-formed delimited UCN. ClosedPublic Authored by cor3ntin on Dec 12 2022, 3:28 PM.
Details Summary \u<DIGIT>{...} was incorrectly parsed as a valid UCN instead
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 3 2023, 8:35 AM Closed by commit rG0d6b26b4d3e3: [Clang] Fix a crash when encountering an ill-formed delimited UCN. (authored by cor3ntin). · Explain WhyJan 3 2023, 11:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 486045 clang/lib/Lex/Lexer.cpp
clang/test/Preprocessor/ucn-pp-identifier.c
|