================
@@ -223,6 +223,7 @@ Deprecated Compiler Flags
 Modified Compiler Flags
 -----------------------
 - The `-gkey-instructions` compiler flag is now enabled by default when DWARF 
is emitted for plain C/C++ and optimizations are enabled. (#GH149509)
+- The `-Wnrvo` compiler flag will not apply for C language.
----------------
Sirraide wrote:

Actually, if we’re disallowing it, it should probably say ‘is no longer 
permitted in C mode’ or sth like that, and to elaborate, the driver should 
issue a warning about that when it encounters it and just ignore it.

https://github.com/llvm/llvm-project/pull/157059
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to