This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0ffb3dd33ee1: [clang-format] Fix a hang when formatting C#
$@ string literals (authored by owenpan).
Changed prior to commit:
owenpan added inline comments.
Comment at: clang/lib/Format/FormatTokenLexer.cpp:536
+ // $"{x ?? "null"}"
+ // should not be split into $"{x ?? ", null, "}" but should treated as a
+ // single string-literal.
curdeius wrote:
>
I left the original comments
curdeius accepted this revision.
curdeius added inline comments.
Comment at: clang/lib/Format/FormatTokenLexer.cpp:536
+ // $"{x ?? "null"}"
+ // should not be split into $"{x ?? ", null, "}" but should treated as a
+ // single string-literal.
Repository:
owenpan created this revision.
owenpan added reviewers: MyDeveloperDay, curdeius, HazardyKnusperkeks.
owenpan added a project: clang-format.
Herald added a project: All.
owenpan requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Fixes