[PATCH] D146247: [clang-format] Support TypeScript satisfies operator
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 16 14:06:26 PDT 2023
MyDeveloperDay added a comment.
I would like to see an annotator test just to be sure its getting annotated correctly.
apart from that it looks pretty good, would you add this to the release notes please?
================
Comment at: clang/unittests/Format/FormatTestJS.cpp:2186
+TEST_F(FormatTestJS, SatisfiesSyntax) {
+ verifyFormat("let x = foo satisfies Type;");
+ verifyFormat("let x = (a + b) satisfies\n"
----------------
would you take say this example and add it as an annotator test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146247/new/
https://reviews.llvm.org/D146247
More information about the cfe-commits
mailing list