================ @@ -16671,9 +16667,8 @@ TEST_F(FormatTest, ConfigurableSpaceBeforeParens) { SpaceFuncDecl); verifyFormat("int f () throw(Deprecated);", SpaceFuncDecl); verifyFormat("typedef void (*cb)(int);", SpaceFuncDecl); - // FIXME these tests regressed behaviour. - // verifyFormat("T A::operator() ();", SpaceFuncDecl); - // verifyFormat("X A::operator++ (T);", SpaceFuncDecl); + verifyFormat("T A::operator()();", SpaceFuncDecl); + verifyFormat("X A::operator++(T);", SpaceFuncDecl); ---------------- owenca wrote:
It seems that D114696 restored the space in `operator` function declarations and definitions. https://github.com/llvm/llvm-project/pull/83380 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits