================
@@ -484,6 +509,13 @@ class CompleteFunctionAnalysis {
return InferrableEffectToFirstViolation.lookup(Effect);
}
+ // True if every reason this function lacks Effect is an exception escaping
+ // it, i.e. it would have the effect but for throwing.
+ bool isThrowOnly(FunctionEffect Effect) {
----------------
daniel-petrovic wrote:
can be declared const
https://github.com/llvm/llvm-project/pull/238401
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits