Skip to content

Commit 9ebb834

Browse files
committed
Java/C++/C#: Fix small mistake.
1 parent 2dc83c5 commit 9ebb834

File tree

14 files changed

+42
-14
lines changed

14 files changed

+42
-14
lines changed

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ private predicate readCand1(Content f, Configuration config) {
372372

373373
private predicate throughFlowNodeCand(Node node, Configuration config) {
374374
nodeCand1(node, false, config) and
375-
not config.isBarrier(node)
375+
not fullBarrier(node, config) and
376+
not inBarrier(node, config) and
377+
not outBarrier(node, config)
376378
}
377379

378380
/**

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl2.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ private predicate readCand1(Content f, Configuration config) {
372372

373373
private predicate throughFlowNodeCand(Node node, Configuration config) {
374374
nodeCand1(node, false, config) and
375-
not config.isBarrier(node)
375+
not fullBarrier(node, config) and
376+
not inBarrier(node, config) and
377+
not outBarrier(node, config)
376378
}
377379

378380
/**

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl3.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ private predicate readCand1(Content f, Configuration config) {
372372

373373
private predicate throughFlowNodeCand(Node node, Configuration config) {
374374
nodeCand1(node, false, config) and
375-
not config.isBarrier(node)
375+
not fullBarrier(node, config) and
376+
not inBarrier(node, config) and
377+
not outBarrier(node, config)
376378
}
377379

378380
/**

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl4.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ private predicate readCand1(Content f, Configuration config) {
372372

373373
private predicate throughFlowNodeCand(Node node, Configuration config) {
374374
nodeCand1(node, false, config) and
375-
not config.isBarrier(node)
375+
not fullBarrier(node, config) and
376+
not inBarrier(node, config) and
377+
not outBarrier(node, config)
376378
}
377379

378380
/**

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ private predicate readCand1(Content f, Configuration config) {
372372

373373
private predicate throughFlowNodeCand(Node node, Configuration config) {
374374
nodeCand1(node, false, config) and
375-
not config.isBarrier(node)
375+
not fullBarrier(node, config) and
376+
not inBarrier(node, config) and
377+
not outBarrier(node, config)
376378
}
377379

378380
/**

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl2.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ private predicate readCand1(Content f, Configuration config) {
372372

373373
private predicate throughFlowNodeCand(Node node, Configuration config) {
374374
nodeCand1(node, false, config) and
375-
not config.isBarrier(node)
375+
not fullBarrier(node, config) and
376+
not inBarrier(node, config) and
377+
not outBarrier(node, config)
376378
}
377379

378380
/**

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl3.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ private predicate readCand1(Content f, Configuration config) {
372372

373373
private predicate throughFlowNodeCand(Node node, Configuration config) {
374374
nodeCand1(node, false, config) and
375-
not config.isBarrier(node)
375+
not fullBarrier(node, config) and
376+
not inBarrier(node, config) and
377+
not outBarrier(node, config)
376378
}
377379

378380
/**

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl4.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ private predicate readCand1(Content f, Configuration config) {
372372

373373
private predicate throughFlowNodeCand(Node node, Configuration config) {
374374
nodeCand1(node, false, config) and
375-
not config.isBarrier(node)
375+
not fullBarrier(node, config) and
376+
not inBarrier(node, config) and
377+
not outBarrier(node, config)
376378
}
377379

378380
/**

csharp/ql/src/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ private predicate readCand1(Content f, Configuration config) {
372372

373373
private predicate throughFlowNodeCand(Node node, Configuration config) {
374374
nodeCand1(node, false, config) and
375-
not config.isBarrier(node)
375+
not fullBarrier(node, config) and
376+
not inBarrier(node, config) and
377+
not outBarrier(node, config)
376378
}
377379

378380
/**

java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ private predicate readCand1(Content f, Configuration config) {
372372

373373
private predicate throughFlowNodeCand(Node node, Configuration config) {
374374
nodeCand1(node, false, config) and
375-
not config.isBarrier(node)
375+
not fullBarrier(node, config) and
376+
not inBarrier(node, config) and
377+
not outBarrier(node, config)
376378
}
377379

378380
/**

0 commit comments

Comments
 (0)