[PATCH] D68346: [clang-format] Add new option to add spaces around conditions

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 20 04:02:41 PST 2019


MyDeveloperDay added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:14382
+  verifyFormat("if ( !a )\n  return;", Spaces);
+  verifyFormat("if ( a )\n  return;", Spaces);
+  verifyFormat("if constexpr ( a )\n  return;", Spaces);
----------------
show "else if" example


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68346





More information about the cfe-commits mailing list