[clang] [Clang] FunctionEffects: Make a separate diagnostic group for redeclarations/overrides where effects are implicit. (PR #148690)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 15 08:21:46 PDT 2025


================
@@ -707,6 +707,12 @@ Improvements to Clang's diagnostics
 - Improve the diagnostics for placement new expression when const-qualified
   object was passed as the storage argument. (#GH143708)
 
+- Added a separate diagnostic group `-Wfunction-effect-redeclarations``, for the more pedantic
----------------
Sirraide wrote:

```suggestion
- Added a separate diagnostic group ``-Wfunction-effect-redeclarations``, for the more pedantic
```
typo

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


More information about the cfe-commits mailing list