[PATCH] D130411: [clang-format] Fix a hang when formatting C# $@ string literals

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 25 15:52:13 PDT 2022


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 alone but will insert it before landing.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130411/new/

https://reviews.llvm.org/D130411



More information about the cfe-commits mailing list