[clang] [FlowSensitive] Allow to dump nested RecordStorageLocation (PR #112457)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 24 01:26:08 PDT 2024


martinboehme wrote:

> > I think this is the right change.
> > What I don't understand, though, is why you were getting an assert failure before. (Which line is the assertion on that failed?) I would have thought if you don't dump the nested record, you just get less information. Apparently not so?
> 
> Because the first line of `Env.getValue` is
> 
> ```
>   assert(!isa<RecordStorageLocation>(Loc));
> ```

Ah, of course, that makes sense. Thanks!

https://github.com/llvm/llvm-project/pull/112457


More information about the cfe-commits mailing list