[PATCH] D125709: [analyzer][Casting] Support isa, cast, dyn_cast of SVals

Aman LaChapelle via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 17 07:01:28 PDT 2022


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



More information about the cfe-commits mailing list