Merge pull request #11941 from alexrford/summary-component-tostring-syntheticglobal

Add missing toString case for synthetic globals
This commit is contained in:
Alex Ford
2023-01-23 10:00:00 +00:00
committed by GitHub
6 changed files with 30 additions and 0 deletions

View File

@@ -39,6 +39,11 @@ module Public {
)
or
exists(ReturnKind rk | this = TReturnSummaryComponent(rk) and result = "return (" + rk + ")")
or
exists(SummaryComponent::SyntheticGlobal sg |
this = TSyntheticGlobalSummaryComponent(sg) and
result = "synthetic global (" + sg + ")"
)
}
}