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

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 23 21:37:58 PDT 2022


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:
  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