8000 [analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in th… · haoNoQ/llvm-project@3ff26e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3ff26e2

Browse files
committed
[analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the test.
They're not stable across machines. Fixes buildbots after r375278. llvm-svn: 375286
1 parent 7c4fa28 commit 3ff26e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/Analysis/dump_egraph.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ int foo() {
2727
// CHECK-SAME: \"node_id\": 2, \"is_sink\": 0, \"has_report\": 0
2828
// CHECK-SAME: \},
2929
// CHECK-SAME: \{ \"kind\": \"Statement\", \"stmt_kind\": \"IntegerLiteral\",
30-
// CHECK-SAME: \"stmt_id\": 597, \"pointer\": \"0x{{[0-9a-f]*}}\",
30+
// CHECK-SAME: \"stmt_id\": {{[0-9]*}}, \"pointer\": \"0x{{[0-9a-f]*}}\",
3131
// CHECK-SAME: \"pretty\": \"0\", \"location\": \{
3232
// CHECK-SAME: \"line\": 15, \"column\": 12, \"file\":
3333
// CHECK-SAME: \}, \"stmt_point_kind\": \"PreStmtPurgeDeadSymbols\",
3434
// CHECK-SAME: \"tag\": \"ExprEngine : Clean Node\", \"node_id\": 3,
3535
// CHECK-SAME: \"is_sink\": 0, \"has_report\": 0
3636
// CHECK-SAME: \},
3737
// CHECK-SAME: \{ \"kind\": \"Statement\", \"stmt_kind\": \"IntegerLiteral\",
38-
// CHECK-SAME: \"stmt_id\": 597, \"pointer\": \"0x{{[0-9a-f]*}}\",
38+
// CHECK-SAME: \"stmt_id\": {{[0-9]*}}, \"pointer\": \"0x{{[0-9a-f]*}}\",
3939
// CHECK-SAME: \"pretty\": \"0\", \"location\": \{
4040
// CHECK-SAME: \"line\": 15, \"column\": 12, \"file\":
4141
// CHECK-SAME: \}, \"stmt_point_kind\": \"PostStmt\", \"tag\": null,

0 commit comments

Comments
 (0)
0