We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcc3113 commit 401ab3bCopy full SHA for 401ab3b
2 files changed
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll
@@ -487,7 +487,7 @@ class Node extends TIRDataFlowNode {
487
}
488
489
private string toExprString(Node n) {
490
- isDebugMode() and
+ not isDebugMode() and
491
(
492
result = n.asExpr(0).toString()
493
or
cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/Node0ToString.qll
@@ -72,4 +72,4 @@ string instructionToString(Instruction i) { result = any(Node0ToString nts).inst
72
* In debug mode the `toString` on dataflow nodes is more expensive to compute,
73
* but gives more precise information about the different dataflow nodes.
74
*/
75
-predicate isDebugMode() { not any(Node0ToString nts).isDebugMode() }
+predicate isDebugMode() { any(Node0ToString nts).isDebugMode() }
0 commit comments