[PATCH] D93528: [clang-format] Add basic support for formatting JSON

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 22 00:17:36 PDT 2021


MyDeveloperDay updated this revision to Diff 353570.
MyDeveloperDay added a comment.

- Add release note
- Add default Column Limit of 0 for default Json Style (add unit test to ensure column limits can still be used)
  - this minimises the differences between what Notepad++'s JSON Format plugin (https://github.com/kapilratnani/JSON-Viewer)  and clang-format produces




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

https://reviews.llvm.org/D93528

Files:
  clang/docs/ClangFormat.rst
  clang/docs/ClangFormatStyleOptions.rst
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/ContinuationIndenter.cpp
  clang/lib/Format/Format.cpp
  clang/lib/Format/TokenAnnotator.cpp
  clang/tools/clang-format/ClangFormat.cpp
  clang/tools/clang-format/clang-format-diff.py
  clang/tools/clang-format/git-clang-format
  clang/unittests/Format/CMakeLists.txt
  clang/unittests/Format/FormatTestJson.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93528.353570.patch
Type: text/x-patch
Size: 16412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210622/540fdd8d/attachment.bin>


More information about the cfe-commits mailing list