[clang] [clang] Restrict -Wnrvo to C++ code only. (PR #157059)

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 19 02:36:48 PST 2026


Javier =?utf-8?q?Muñoz?= Kirschberg
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/157059 at github.com>


https://github.com/zmodem commented:

I just ran into this warning while testing 22.0.1-rc1 on some C code. It would be nice if we could get the fix in for the release.

It looks like this is basically ready, and just needs some tweaking of the test file?

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


More information about the cfe-commits mailing list