================ @@ -692,6 +692,13 @@ def warn_maybe_falloff_nonvoid_function : Warning< def warn_falloff_nonvoid_function : Warning< "non-void function does not return a value">, InGroup<ReturnType>; +def warn_const_attr_with_pure_attr : Warning< + "'const' attribute imposes more restrictions, 'pure' attribute ignored">, + InGroup<IgnoredAttributes>; ---------------- erichkeane wrote:
I think the changes made here are sufficiently closely related, they are definitely 'near the line', but are sufficiently close (in that it is fixing up teh diagnostics for the pure/const attributes). https://github.com/llvm/llvm-project/pull/78200 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits