[PATCH] D147003: [clang-format] JSON Add ability to add a space before the colon

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 29 12:22:32 PDT 2023


MyDeveloperDay updated this revision to Diff 509439.
MyDeveloperDay marked 2 inline comments as done.
MyDeveloperDay added a comment.

add missing unit test
let's go defensive on the JsColon detection


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

https://reviews.llvm.org/D147003

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/Format.cpp
  clang/lib/Format/TokenAnnotator.cpp
  clang/unittests/Format/ConfigParseTest.cpp
  clang/unittests/Format/FormatTestJson.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147003.509439.patch
Type: text/x-patch
Size: 5544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230329/91715438/attachment.bin>


More information about the cfe-commits mailing list