================ @@ -78,22 +78,19 @@ class ViolationSite { // be inferred as holding that effect. struct Violation { FunctionEffect Effect; - FunctionEffect + std::optional<FunctionEffect> CalleeEffectPreventingInference; // Only for certain IDs; can be None. ---------------- Sirraide wrote:
```suggestion CalleeEffectPreventingInference; // Only for certain IDs; can be nullopt. ``` Comment still needs updating https://github.com/llvm/llvm-project/pull/99656 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits