[clang] nolock/noalloc attributes (PR #84983)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 12 16:22:57 PDT 2024
================
@@ -18321,6 +18321,28 @@ bool Sema::CheckOverridingFunctionAttributes(const CXXMethodDecl *New,
return true;
}
+ // Virtual overrides: check for matching effects.
----------------
Sirraide wrote:
Just a remark: Despite what I said wrt function declaration merging, I agree that it makes sense to check this and warn if overriding changes the effects of a function.
https://github.com/llvm/llvm-project/pull/84983
More information about the cfe-commits
mailing list