mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Merge pull request #17474 from github/redsun82/swift-cfg-order-disambuigation
Swift: tentative fix to Cfg disambuigation
This commit is contained in:
@@ -11,7 +11,7 @@ class MyRelevantNode extends ControlFlowNode {
|
|||||||
private AstNode asAstNode() { result = this.getAstNode().asAstNode() }
|
private AstNode asAstNode() { result = this.getAstNode().asAstNode() }
|
||||||
|
|
||||||
string getOrderDisambiguation() {
|
string getOrderDisambiguation() {
|
||||||
result = this.asAstNode().getPrimaryQlClasses()
|
result = concat([this.asAstNode().getAPrimaryQlClass(), this.asAstNode().toString()], ",")
|
||||||
or
|
or
|
||||||
not exists(this.asAstNode()) and result = ""
|
not exists(this.asAstNode()) and result = ""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user