[PATCH] D148472: [clang-format] CSharp don't allow there not to be a space between `is` and `[`
Owen Pan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 16 19:07:50 PDT 2023
owenpan accepted this revision.
owenpan added inline comments.
================
Comment at: clang/unittests/Format/FormatTestCSharp.cpp:1182-1186
+ verifyFormat("return a is [1, 2, 3]", Style);
+ verifyFormat("return a is [..]", Style);
+ Style.SpaceBeforeSquareBrackets = false;
+ verifyFormat("return a is [1, 2, 3]", Style);
+ verifyFormat("return a is [..]", Style);
----------------
Should we end the return statements with a semicolon?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148472/new/
https://reviews.llvm.org/D148472
More information about the cfe-commits
mailing list