aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2019-10-18 20:48:21 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2019-10-18 20:48:21 +0000
commitbe1f932eb807ad248842b1669c3312c29e45f86d (patch)
tree356ce4421b9eada59873bc3c47c1a3bbce2ac6ce
parentfaab8a541436765920f5b83fe8b130857b12ac77 (diff)
downloadclang-be1f932eb807ad248842b1669c3312c29e45f86d.tar.gz
[analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the test.
They're not stable across machines. Fixes buildbots after r375278. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375286 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/dump_egraph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/dump_egraph.c b/test/Analysis/dump_egraph.c
index e27c63ad49..d6f252af8e 100644
--- a/test/Analysis/dump_egraph.c
+++ b/test/Analysis/dump_egraph.c
@@ -27,7 +27,7 @@ int foo() {
// CHECK-SAME: \"node_id\": 2, \"is_sink\": 0, \"has_report\": 0
// CHECK-SAME: \},
// CHECK-SAME: \{ \"kind\": \"Statement\", \"stmt_kind\": \"IntegerLiteral\",
-// CHECK-SAME: \"stmt_id\": 597, \"pointer\": \"0x{{[0-9a-f]*}}\",
+// CHECK-SAME: \"stmt_id\": {{[0-9]*}}, \"pointer\": \"0x{{[0-9a-f]*}}\",
// CHECK-SAME: \"pretty\": \"0\", \"location\": \{
// CHECK-SAME: \"line\": 15, \"column\": 12, \"file\":
// CHECK-SAME: \}, \"stmt_point_kind\": \"PreStmtPurgeDeadSymbols\",
@@ -35,7 +35,7 @@ int foo() {
// CHECK-SAME: \"is_sink\": 0, \"has_report\": 0
// CHECK-SAME: \},
// CHECK-SAME: \{ \"kind\": \"Statement\", \"stmt_kind\": \"IntegerLiteral\",
-// CHECK-SAME: \"stmt_id\": 597, \"pointer\": \"0x{{[0-9a-f]*}}\",
+// CHECK-SAME: \"stmt_id\": {{[0-9]*}}, \"pointer\": \"0x{{[0-9a-f]*}}\",
// CHECK-SAME: \"pretty\": \"0\", \"location\": \{
// CHECK-SAME: \"line\": 15, \"column\": 12, \"file\":
// CHECK-SAME: \}, \"stmt_point_kind\": \"PostStmt\", \"tag\": null,