[clang] nonblocking/nonallocating attributes (was: nolock/noalloc) (PR #84983)

via cfe-commits cfe-commits at lists.llvm.org
Sat May 4 09:40:34 PDT 2024


================
@@ -10510,6 +10512,8 @@ QualType ASTContext::mergeFunctionTypes(QualType lhs, QualType rhs,
     if (lproto->getMethodQuals() != rproto->getMethodQuals())
       return {};
 
+    // TODO: (nonblocking) Does anything need to be done with FunctionEffects?
+
----------------
Sirraide wrote:

Well, I think we do need to do *something* here. I’d `assert` that the effects are equal for now and see if that triggers anything and go from there.

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


More information about the cfe-commits mailing list