Address review comments

This commit is contained in:
Tom Hvitved
2020-02-11 11:56:40 +01:00
parent 96e71c731d
commit 1948446ad3
2 changed files with 6 additions and 3 deletions

View File

@@ -372,7 +372,9 @@ class ArrayCreation extends Expr, @array_creation_expr {
override string toString() { result = "array creation of type " + this.getType().getName() }
}
/** A `stackalloc` array creation. */
/**
* A `stackalloc` array creation, for example `stackalloc char[] { 'x', 'y' }`.
*/
class Stackalloc extends ArrayCreation {
Stackalloc() { stackalloc_array_creation(this) }
}