[clang] [clang] Implement CWG2815 (PR #132778)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 25 10:18:48 PDT 2025
================
@@ -47,6 +47,28 @@ void f() {
#endif
} // namespace cwg2813
+namespace cwg2815 { // cwg2815: 21
+#if __cpp_noexcept_function_type >= 201510
----------------
zwuis wrote:
I'm not sure if checking values of feature test macros is better then checking the value of `__cplusplus`, but the rest of the file checks the value of `__cplusplus`. CC @Endilll
https://github.com/llvm/llvm-project/pull/132778
More information about the cfe-commits
mailing list