File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic/analysis Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -958,14 +958,14 @@ module RangeStage<
958
958
(
959
959
positively = true and
960
960
(
961
- semExprSign ( expr .( SemBinaryExpr ) .getLeftOperand ( ) ) = TPos ( ) and
962
- semExprSign ( expr .( SemBinaryExpr ) .getRightOperand ( ) ) = TPos ( )
961
+ pragma [ only_bind_out ] ( semExprSign ( expr .( SemBinaryExpr ) .getLeftOperand ( ) ) ) = TPos ( ) and
962
+ pragma [ only_bind_out ] ( semExprSign ( expr .( SemBinaryExpr ) .getRightOperand ( ) ) ) = TPos ( )
963
963
)
964
964
or
965
965
positively = false and
966
966
(
967
- semExprSign ( expr .( SemBinaryExpr ) .getLeftOperand ( ) ) = TNeg ( ) and
968
- semExprSign ( expr .( SemBinaryExpr ) .getRightOperand ( ) ) = TNeg ( )
967
+ pragma [ only_bind_out ] ( semExprSign ( expr .( SemBinaryExpr ) .getLeftOperand ( ) ) ) = TNeg ( ) and
968
+ pragma [ only_bind_out ] ( semExprSign ( expr .( SemBinaryExpr ) .getRightOperand ( ) ) ) = TNeg ( )
969
969
)
970
970
)
971
971
or
@@ -976,14 +976,14 @@ module RangeStage<
976
976
(
977
977
positively = true and
978
978
(
979
- semExprSign ( expr .( SemBinaryExpr ) .getLeftOperand ( ) ) = TPos ( ) and
980
- semExprSign ( expr .( SemBinaryExpr ) .getRightOperand ( ) ) = TNeg ( )
979
+ pragma [ only_bind_out ] ( semExprSign ( expr .( SemBinaryExpr ) .getLeftOperand ( ) ) ) = TPos ( ) and
980
+ pragma [ only_bind_out ] ( semExprSign ( expr .( SemBinaryExpr ) .getRightOperand ( ) ) ) = TNeg ( )
981
981
)
982
982
or
983
983
positively = false and
984
984
(
985
- semExprSign ( expr .( SemBinaryExpr ) .getLeftOperand ( ) ) = TNeg ( ) and
986
- semExprSign ( expr .( SemBinaryExpr ) .getRightOperand ( ) ) = TPos ( )
985
+ pragma [ only_bind_out ] ( semExprSign ( expr .( SemBinaryExpr ) .getLeftOperand ( ) ) ) = TNeg ( ) and
986
+ pragma [ only_bind_out ] ( semExprSign ( expr .( SemBinaryExpr ) .getRightOperand ( ) ) ) = TPos ( )
987
987
)
988
988
)
989
989
or
You can’t perform that action at this time.
0 commit comments