mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
As mentioned by aschackmull during review, StatementExpression as defined by the JLS only lists possible types of expressions, it does _not_ specify that their value is discarded. Therefore, for example any method call could be considered a StatementExpression. The name ValueDiscardingExpr was chosen as replacement because the JLS uses the phrase "if the expression has a value, the value is discarded" multiple times.
1 line
62 B
Plaintext
1 line
62 B
Plaintext
//semmle-extractor-options: --javac-args -source 14 -target 14 |