jdoerfert added a comment. This is cool, thx!
One case I stumbled upon recently is: `void explicit() {}` Which results in these rather confusing messages: /tmp/test.cpp:1:14: warning: explicit(bool) is a C++20 extension [-Wc++20-extensions] void explicit() { } ^ /tmp/test.cpp:1:15: error: expected expression void explicit() { } ^ /tmp/test.cpp:1:17: error: expected unqualified-id void explicit() { } ^ 1 warning and 2 errors generated. Just in case you want to continue this ;) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D77633/new/ https://reviews.llvm.org/D77633 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits