File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed
go/ql/lib/semmle/go/dataflow/internal Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -2927,12 +2927,17 @@ abstract private class PathNodeImpl extends PathNode {
2927
2927
result = this .getASuccessorImpl ( )
2928
2928
}
2929
2929
2930
- final PathNodeImpl getANonHiddenSuccessor ( ) {
2931
- result = this . getASuccessorImpl ( ) . getASuccessorIfHidden * ( ) and
2932
- not this .isHidden ( ) and
2930
+ pragma [ nomagic ]
2931
+ private PathNodeImpl getANonHiddenSuccessor0 ( ) {
2932
+ result = this .getASuccessorIfHidden * ( ) and
2933
2933
not result .isHidden ( )
2934
2934
}
2935
2935
2936
+ final PathNodeImpl getANonHiddenSuccessor ( ) {
2937
+ result = this .getASuccessorImpl ( ) .getANonHiddenSuccessor0 ( ) and
2938
+ not this .isHidden ( )
2939
+ }
2940
+
2936
2941
abstract NodeEx getNodeEx ( ) ;
2937
2942
2938
2943
predicate isHidden ( ) {
Original file line number Diff line number Diff line change @@ -2927,12 +2927,17 @@ abstract private class PathNodeImpl extends PathNode {
2927
2927
result = this .getASuccessorImpl ( )
2928
2928
}
2929
2929
2930
- final PathNodeImpl getANonHiddenSuccessor ( ) {
2931
- result = this . getASuccessorImpl ( ) . getASuccessorIfHidden * ( ) and
2932
- not this .isHidden ( ) and
2930
+ pragma [ nomagic ]
2931
+ private PathNodeImpl getANonHiddenSuccessor0 ( ) {
2932
+ result = this .getASuccessorIfHidden * ( ) and
2933
2933
not result .isHidden ( )
2934
2934
}
2935
2935
2936
+ final PathNodeImpl getANonHiddenSuccessor ( ) {
2937
+ result = this .getASuccessorImpl ( ) .getANonHiddenSuccessor0 ( ) and
2938
+ not this .isHidden ( )
2939
+ }
2940
+
2936
2941
abstract NodeEx getNodeEx ( ) ;
2937
2942
2938
2943
predicate isHidden ( ) {
You can’t perform that action at this time.
0 commit comments