Skip to content

Commit 317f43d

Browse files
committed
C++: Don't use PrintAST in a test
1 parent 2351328 commit 317f43d

File tree

4 files changed

+11
-80
lines changed

4 files changed

+11
-80
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
| test.cpp:6:13:6:31 | initializer for x | test.cpp:6:13:6:31 | <error expr> |
2+
| test.cpp:7:5:7:8 | ExprStmt | file://:0:0:0:0 | <error expr> |
3+
| test.cpp:8:5:8:23 | ExprStmt | file://:0:0:0:0 | <error expr> |
4+
| test.cpp:9:5:9:21 | ExprStmt | file://:0:0:0:0 | <error expr> |
5+
| test.cpp:11:5:11:8 | ExprStmt | file://:0:0:0:0 | <error expr> |
6+
| test.cpp:15:5:15:8 | ExprStmt | file://:0:0:0:0 | <error expr> |
7+
| test.cpp:16:5:16:16 | ExprStmt | file://:0:0:0:0 | <error expr> |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import cpp
2+
3+
from ErrorExpr e
4+
select e.getParent(), e

cpp/ql/test/library-tests/extraction_errors/PrintAst.expected

Lines changed: 0 additions & 79 deletions
This file was deleted.

cpp/ql/test/library-tests/extraction_errors/PrintAst.qlref

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)