File tree Expand file tree Collapse file tree
cpp/ql/test/library-tests/dataflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ module AstTest {
55 private import semmle.code.cpp.dataflow.DataFlow:: DataFlow
66 private import semmle.code.cpp.dataflow.internal.DataFlowPrivate
77
8- class ASTParameterDefTest extends InlineExpectationsTest {
9- ASTParameterDefTest ( ) { this = "ASTParameterDefTest " }
8+ class AstParameterDefTest extends InlineExpectationsTest {
9+ AstParameterDefTest ( ) { this = "AstParameterDefTest " }
1010
1111 override string getARelevantTag ( ) { result = "ast-def" }
1212
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ module AstTest {
55 private import semmle.code.cpp.dataflow.DataFlow:: DataFlow
66 private import semmle.code.cpp.dataflow.internal.DataFlowPrivate
77
8- class ASTMultipleOutNodesTest extends InlineExpectationsTest {
9- ASTMultipleOutNodesTest ( ) { this = "ASTMultipleOutNodesTest " }
8+ class AstMultipleOutNodesTest extends InlineExpectationsTest {
9+ AstMultipleOutNodesTest ( ) { this = "AstMultipleOutNodesTest " }
1010
1111 override string getARelevantTag ( ) { result = "ast-count(" + any ( ReturnKind k ) .toString ( ) + ")" }
1212
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ module IRTest {
105105
106106 override predicate allowImplicitRead ( DataFlow:: Node node , DataFlow:: ContentSet c ) {
107107 // allow arbitrary reads at sinks
108- isSink ( node ) and
108+ this . isSink ( node ) and
109109 c .( DataFlow:: FieldContent ) .getField ( ) .getDeclaringType ( ) = node .getType ( ) .getUnspecifiedType ( )
110110 }
111111 }
You can’t perform that action at this time.
0 commit comments