================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits