mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: Exclude flow summary nodes from DataFlowStep.ql
This commit is contained in:
@@ -10,9 +10,7 @@ private import codeql.rust.elements.Locatable
|
||||
private import codeql.Locations
|
||||
import PathResolutionConsistency
|
||||
|
||||
class SourceLocatable instanceof Locatable {
|
||||
string toString() { result = super.toString() }
|
||||
|
||||
class SourceLocatable extends Locatable {
|
||||
Location getLocation() {
|
||||
if super.getLocation().fromSource()
|
||||
then result = super.getLocation()
|
||||
|
||||
Reference in New Issue
Block a user