Skip to content

Commit

Permalink
[FlowSensitive] Allow to dump nested RecordStorageLocation (llvm#112457)
Browse files Browse the repository at this point in the history
We have an internal analysis that uses them, and the HTML dump would
fail on the assertion.
  • Loading branch information
fmayer authored Oct 24, 2024
1 parent 6d8d7a3 commit 564fd62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ class ModelDumper {
for (const auto &Child : RLoc->children())
JOS.attributeObject("f:" + Child.first->getNameAsString(), [&] {
if (Child.second)
if (Value *Val = Env.getValue(*Child.second))
dump(*Val);
dump(*Child.second);
});

for (const auto &SyntheticField : RLoc->synthetic_fields())
Expand Down

0 comments on commit 564fd62

Please sign in to comment.