From: Artem Dergachev Date: Fri, 18 Oct 2019 20:48:21 +0000 (+0000) Subject: [analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be1f932eb807ad248842b1669c3312c29e45f86d;p=clang [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 --- 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,