localspook wrote: `getAsBool` used to return an `llvm::Expected`, and it needed this parameter to build a nice error message. It was refactored to return a `std::optional`, which is just `std::nullopt` on error. The error message is now built in the functions that call `getAsBool`.
https://github.com/llvm/llvm-project/pull/164202 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
