[PATCH] D72144: Treat C# `using` as a control statement

Jonathan B Coe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 22 06:43:17 PST 2020


jbcoe marked 2 inline comments as done.
jbcoe added inline comments.


================
Comment at: clang/unittests/Format/FormatTestCSharp.cpp:259
+
+  verifyFormat("using (StreamWriter sw = new StreamWriter(filenameB)) {}",
+               Style);
----------------
krasimir wrote:
> Can this appear at the top-level? If not, just keep the other test case to avoid confusion.
I'm following the example set by by test cases above. I can remove (all) if you prefer and agree it does not test anything new.


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

https://reviews.llvm.org/D72144





More information about the cfe-commits mailing list