C++: Handle the extent of 'new[]' in 'getConvertedResultExpressionImpl0' and add a few more comments.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-09-12 10:28:36 +01:00
parent becb469477
commit 7d2c12e63d
2 changed files with 17 additions and 3 deletions

View File

@@ -1956,9 +1956,7 @@ class TranslatedNonConstantAllocationSize extends TranslatedAllocationSize {
result = this.getExtent().getResult()
}
private TranslatedExpr getExtent() {
result = getTranslatedExpr(expr.getExtent().getFullyConverted())
}
TranslatedExpr getExtent() { result = getTranslatedExpr(expr.getExtent().getFullyConverted()) }
}
/**