Autoformat

This commit is contained in:
Chris Smowton
2024-02-27 16:45:28 +00:00
parent b6507e795a
commit ffa998eb4a
2 changed files with 2 additions and 7 deletions

View File

@@ -1,10 +1,7 @@
import java
query Callable callTargets(MethodCall mc) {
result = mc.getCallee()
}
query Callable callTargets(MethodCall mc) { result = mc.getCallee() }
from Expr e
where e.getFile().getBaseName() = "Test.java"
select e, e.getType()

View File

@@ -123,9 +123,7 @@ module CallTargetStats implements StatsSig {
}
private class SourceExpr extends Expr {
SourceExpr() {
this.getFile().isSourceFile()
}
SourceExpr() { this.getFile().isSourceFile() }
}
private predicate hasGoodType(Expr e) {