Skip to content

Commit 2a9fc6d

Browse files
committed
fix(cpp1): workaround Clang 12's -Wgnu-zero-variadic-macro-arguments
1 parent e0b523d commit 2a9fc6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/cppfront.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2972,9 +2972,9 @@ class cppfront
29722972
for (auto&& e: args.value().text_chunks) {
29732973
suffix.push_back(e);
29742974
}
2975-
suffix.emplace_back("),(,), ", i->op->position());
2975+
suffix.emplace_back("),(), ", i->op->position());
29762976
} else {
2977-
suffix.emplace_back("),()", i->op->position());
2977+
suffix.emplace_back("),()", i->op->position());
29782978
}
29792979
args.reset();
29802980
}

0 commit comments

Comments
 (0)