[clang] [Clang] add emit -Wignored-base-class-qualifiers diagnostic for cv-qualified base classes (PR #132116)

Lyle Dean via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 31 13:10:08 PDT 2025


================
@@ -298,6 +298,8 @@ Improvements to Clang's diagnostics
 
 - Improve the ``-Wundefined-func-template`` warning when a function template is not instantiated due to being unreachable in modules.
 
+- Clang now emits a ``-Wignored-base-class-qualifiers`` diagnostic when a base class includes cv-qualifiers.
----------------
lyledean1 wrote:

Thanks, will add that in 

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


More information about the cfe-commits mailing list