mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
C++: More robust InterpretNode.asCall.
This commit is contained in:
@@ -113,7 +113,7 @@ module SourceSinkInterpretationInput implements
|
||||
Node asNode() { this = TNode_(result) }
|
||||
|
||||
/** Gets the call that this node corresponds to, if any. */
|
||||
DataFlowCall asCall() { this.asElement() = result.getAst() }
|
||||
DataFlowCall asCall() { this.asElement() = result.getUnconvertedResultExpression() }
|
||||
|
||||
/** Gets the callable that this node corresponds to, if any. */
|
||||
DataFlowCallable asCallable() { result.(Function) = this.asElement() }
|
||||
|
||||
Reference in New Issue
Block a user