mirror of
https://github.com/github/codeql.git
synced 2026-04-23 15:55:18 +02:00
Simplify model defenition
This commit is contained in:
@@ -48,13 +48,7 @@ module Arel {
|
||||
SqlLiteralNewSummary() { this = "Arel::Nodes::SqlLiteral.new" }
|
||||
|
||||
override MethodCall getACall() {
|
||||
result =
|
||||
API::getTopLevelMember("Arel")
|
||||
.getMember("Nodes")
|
||||
.getMember("SqlLiteral")
|
||||
.getAMethodCall("new")
|
||||
.asExpr()
|
||||
.getExpr()
|
||||
result = any(ArelSqlLiteralNewConstruction c).asExpr().getExpr()
|
||||
}
|
||||
|
||||
override predicate propagatesFlow(string input, string output, boolean preservesValue) {
|
||||
|
||||
Reference in New Issue
Block a user