[clang] [Clang] omit parentheses in fold expressions with a single expansion (PR #110761)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 3 06:45:23 PDT 2024


================
@@ -122,35 +122,34 @@ void test() {
 #undef EQ
 }
 
-void (*fn)();
-
-void test2() {
----------------
erichkeane wrote:

Why did this go away?  This test should still diagnose.

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


More information about the cfe-commits mailing list