bzcheeseman added a comment.

In D125709#3518096 <https://reviews.llvm.org/D125709#3518096>, @steakhal wrote:

> I had to fix the `doCast` to return `To` instead of `Optional<To>` to make it 
> work.

That's fine (or it should be!) but you can also just dereference the optional, 
right?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125709/new/

https://reviews.llvm.org/D125709

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to