[clang] [Clang] Restrict CWG1504 devirtualization to pointer arithmetic on record types. (PR #209593)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 14 22:01:27 PDT 2026


================
@@ -11,6 +11,25 @@
 // cxx98-error at -1 {{variadic macros are a C99 feature}}
 #endif
 
+namespace cwg1504 { // cwg1504: 23
----------------
zwuis wrote:

Find the first version implementing this CWG issue, write the version you find, then run `clang/www/make_cxx_dr_status` to update `clang/www/cxx_dr_status.html`. Compiler Explorer might be useful.

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


More information about the cfe-commits mailing list