Skip to content

Commit 564fd62

Browse files
authored
[FlowSensitive] Allow to dump nested RecordStorageLocation (#112457)
We have an internal analysis that uses them, and the HTML dump would fail on the assertion.
1 parent 6d8d7a3 commit 564fd62

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ class ModelDumper {
133133
for (const auto &Child : RLoc->children())
134134
JOS.attributeObject("f:" + Child.first->getNameAsString(), [&] {
135135
if (Child.second)
136-
if (Value *Val = Env.getValue(*Child.second))
137-
dump(*Val);
136+
dump(*Child.second);
138137
});
139138

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

0 commit comments

Comments
 (0)