mirror of
https://github.com/github/codeql.git
synced 2026-02-23 02:13:41 +01:00
do not generate models for toString
This commit is contained in:
@@ -64,6 +64,7 @@ predicate isUninterestingForModels(Callable c) {
|
||||
isInTestFile(c.getCompilationUnit().getFile()) or
|
||||
isInternal(c.getCompilationUnit()) or
|
||||
c instanceof MainMethod or
|
||||
c instanceof ToStringMethod or
|
||||
c instanceof StaticInitializer or
|
||||
exists(FunctionalExpr funcExpr | c = funcExpr.asMethod()) or
|
||||
c.getDeclaringType() instanceof TestLibrary or
|
||||
|
||||
Reference in New Issue
Block a user