[clang-format] JSON Add ability to add a space before the colon
authormydeveloperday <mydeveloperday@gmail.com>
Wed, 29 Mar 2023 20:28:40 +0000 (21:28 +0100)
committermydeveloperday <mydeveloperday@gmail.com>
Wed, 29 Mar 2023 20:28:40 +0000 (21:28 +0100)
commitaf98f3b1f4db065ff82b50a9689511dd3223655b
treee8ef5d07844bcf50666db8df75eb913a71493e62
parent07616c5db0cd10568b7e4bf2ef59caeb4905e3f8
[clang-format] JSON Add ability to add a space before the colon

I've seen a couple of request for extra Json formatting to match prettier capability.

Reviewed By: owenpan

Differential Revision: https://reviews.llvm.org/D147003
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