mirror of
https://github.com/github/codeql.git
synced 2026-04-20 06:24:03 +02:00
Rust: Add case for ParenExpr in CFG
This commit is contained in:
@@ -1273,8 +1273,14 @@ module Make<LocationSig Location, InputSig<Location> Input> {
|
||||
string getOrderDisambiguation() { result = "" }
|
||||
}
|
||||
|
||||
import TestOutput<RelevantNode>
|
||||
import Mermaid
|
||||
private module Output = TestOutput<RelevantNode>;
|
||||
|
||||
import Output::Mermaid
|
||||
|
||||
query predicate edges(RelevantNode pred, RelevantNode succ, string attr, string val) {
|
||||
attr = "semmle.label" and
|
||||
Output::edges(pred, succ, val)
|
||||
}
|
||||
}
|
||||
|
||||
/** Provides a set of consistency queries. */
|
||||
|
||||
Reference in New Issue
Block a user