From: Csaba Dabis Date: Thu, 30 May 2019 14:48:43 +0000 (+0000) Subject: [analyzer] print() JSONify chain: Fix build-bot breaks X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=727eb02a3b7dccdb5a2f81bc3086aedcadf7af7b;p=clang [analyzer] print() JSONify chain: Fix build-bot breaks Summary: Printing out a map structure different in different environments so that this patch generalize the test-case to check for the 'no stmt'-case anywhere in the Store. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362098 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/dump_egraph.cpp b/test/Analysis/dump_egraph.cpp index fd966cb78f..94919b636f 100644 --- a/test/Analysis/dump_egraph.cpp +++ b/test/Analysis/dump_egraph.cpp @@ -20,5 +20,5 @@ void foo() { // CHECK: \"constructing_objects\": [\l      \{ \"location_context\": \"#0 Call\", \"calling\": \"T::T\", \"call_line\": \"16\", \"items\": [\l        \{ \"lctx_id\": 2, \"init_id\": {{[0-9]+}}, \"kind\": \"construct into member variable\", \"argument_index\": null, \"pretty\": \"s\", \"value\": \"&t-\>s\" -// CHECK: \"store\": [\l      \{ \"cluster\": \"t\", \"items\": [\l        \{ \"kind\": \"Default\", \"offset\": 0, \"value\": \"conj_$3\{int, LC3, no stmt, #1\}\" +// CHECK: \"cluster\": \"t\", \"items\": [\l        \{ \"kind\": \"Default\", \"offset\": 0, \"value\": \"conj_$3\{int, LC3, no stmt, #1\}\"