[PATCH] D137474: [clang-format] Defer formatting of operator< to honor paren spacing

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 6 02:03:18 PST 2022


owenpan accepted this revision.
owenpan added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/unittests/Format/FormatTest.cpp:15476
+  verifyFormat("bool operator< ();", Space);
+  verifyFormat("bool operator> ();", Space);
   verifyFormat("void f (int a, T b) {\n"
----------------
Drop it as it doesn't test the patch?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137474



More information about the cfe-commits mailing list