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

Florian Mayer via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 23 09:54:07 PDT 2024


fmayer 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));
```

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


More information about the cfe-commits mailing list