Java/Python: Fix some potential performance problems due to transitive deltas. by aschackmull · Pull Request #6886 · github/codeql · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion java/ql/lib/semmle/code/java/frameworks/Rmi.qll
2 changes: 1 addition & 1 deletion python/ql/lib/semmle/python/Exprs.qll
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Expr extends Expr_, AstNode {
* Whether this expression defines variable `v`
* If doing dataflow, then consider using SsaVariable.getDefinition() for more precision.
*/
predicate defines(Variable v) { this.getASubExpression+().defines(v) }
predicate defines(Variable v) { this.getASubExpression().defines(v) }

/** Whether this expression may have a side effect (as determined purely from its syntax) */
predicate hasSideEffects() {
Expand Down
2 changes: 1 addition & 1 deletion python/ql/lib/semmle/python/pointsto/PointsTo.qll