[PATCH] D62658: [analyzer] print() JSONify: ExplodedNode revision
Csaba Dabis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 31 10:52:41 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL362249: [analyzer] print() JSONify: ExplodedNode revision (authored by Charusso, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D62658?vs=202173&id=202462#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62658/new/
https://reviews.llvm.org/D62658
Files:
cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
Index: cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
===================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
+++ cfe/trunk/lib/StaticAnalyzer/Core/ExprEngine.cpp
@@ -3075,8 +3075,8 @@
const unsigned int Space = 1;
ProgramStateRef State = N->getState();
- Out << "{ \"node_id\": \"" << (const void *)N
- << "\", \"state_id\": " << State->getID()
+ Out << "{ \"node_id\": " << N->getID(G) << ", \"pointer\": \""
+ << (const void *)N << "\", \"state_id\": " << State->getID()
<< ", \"has_report\": " << (nodeHasBugReport(N) ? "true" : "false")
<< ",\\l";
@@ -3094,7 +3094,7 @@
else
Out << "null }";
},
- // Adds a comma and a new-line between each program point.
+ // Adds a comma and a new-line between each program point.
[&](const ExplodedNode *) { Out << ",\\l"; },
[&](const ExplodedNode *) { return false; });
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62658.202462.patch
Type: text/x-patch
Size: 993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190531/e98c4e2b/attachment.bin>
More information about the cfe-commits
mailing list