================ @@ -444,6 +454,16 @@ class ParamInfo : public VariableInfo { NoEscape = Value.value_or(false); } + std::optional<bool> isLifetimebound() const { + if (!LifetimeboundSpecified) + return std::nullopt; + return Lifetimebound; ---------------- compnerd wrote:
```suggestion return LifetimeboundSpecified ? Lifetimebound : std::nullopt; ``` https://github.com/llvm/llvm-project/pull/114830 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits