[clang] [clang][Sema] Make passing a non-POD type to `va_arg` an error, not a warning (PR #198668)

via cfe-commits cfe-commits at lists.llvm.org
Wed May 20 08:18:55 PDT 2026


Sirraide wrote:

> Is that really true? If you try to pass a `std::string` to a vararg function, at the callsite clang says

Interesting; I was only looking at -O0 codegen where I saw a copy-constructor call

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


More information about the cfe-commits mailing list