[PATCH] D117197: [clang-format] Add new option to support adding a space between Javascript Union and Intersection types
Marek Kurdej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 13 02:17:57 PST 2022
curdeius added inline comments.
================
Comment at: clang/unittests/Format/FormatTestJS.cpp:1708-1713
verifyFormat("class X {\n"
" contructor(x: {\n"
" a: a|null,\n"
" b: b|null,\n"
" }) {}\n"
"}");
----------------
Oh, you might need to add a test for this case too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117197/new/
https://reviews.llvm.org/D117197
More information about the cfe-commits
mailing list