int a\
ス;
Failed to be parsed as a valid identifier.
Fixes #65156
Paths
| Differential D159345
[Clang] Handle non-ASCII after line splicing ClosedPublic Authored by cor3ntin on Sep 1 2023, 2:05 AM.
Details Summary int a\ Failed to be parsed as a valid identifier. Fixes #65156
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 6 2023, 12:48 PM Comment Actions Even better than I asked for. I held back on suggesting the change of Tok to Result to match tryConsumeIdentifierUCN(), but you made that change anyway! You must have read my mind! :) This revision was landed with ongoing or failed builds.Sep 6 2023, 2:20 PM Closed by commit rG3eb67d28dee5: [Clang] Handle non-ASCII after line splicing (authored by cor3ntin). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions
Haha. Once i added docs the lack of symmetry with the previous function became jarring!
Revision Contents
Diff 556084 clang/docs/ReleaseNotes.rst
clang/include/clang/Lex/Lexer.h
clang/lib/Lex/Lexer.cpp
clang/test/Lexer/escape_newline_unicode.c
|
Tok should be documented here.