mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Merge pull request #1071 from jbj/dataflow-toString-perf
C++: Make FlowVar::toString not use Expr::toString
This commit is contained in:
@@ -269,7 +269,7 @@ module FlowVar_internal {
|
||||
override string toString() {
|
||||
exists(Expr e |
|
||||
this.definedByExpr(e, _) and
|
||||
result = v +" := "+ e
|
||||
result = "assignment to "+ v
|
||||
)
|
||||
or
|
||||
this.definedByInitialValue(_) and
|
||||
@@ -277,7 +277,7 @@ module FlowVar_internal {
|
||||
or
|
||||
exists(Expr arg |
|
||||
this.definedByReference(arg) and
|
||||
result = "ref def: "+ arg
|
||||
result = "definition by reference of "+ v
|
||||
)
|
||||
or
|
||||
// impossible case
|
||||
|
||||
Reference in New Issue
Block a user