[clang] [clang-format] Enable again some operator tests (PR #83380)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 29 00:43:58 PST 2024


================
@@ -16797,7 +16792,7 @@ TEST_F(FormatTest, ConfigurableSpaceBeforeParens) {
   verifyFormat("int f() throw (Deprecated);", SomeSpace2);
   verifyFormat("typedef void (*cb) (int);", SomeSpace2);
   verifyFormat("T A::operator()();", SomeSpace2);
-  // verifyFormat("X A::operator++ (T);", SomeSpace2);
+  verifyFormat("X A::operator++ (T);", SomeSpace2);
----------------
owenca wrote:

Shouldn't the space be removed here?

https://github.com/llvm/llvm-project/pull/83380


More information about the cfe-commits mailing list