[analyzer] Highlight sink nodes in red
Differential Revision: https://reviews.llvm.org/D52337 llvm-svn: 342769
This commit is contained in:
parent
33e5a15896
commit
200e809dbd
|
@ -2957,6 +2957,8 @@ struct DOTGraphTraits<ExplodedGraph*> : public DefaultDOTGraphTraits {
|
|||
// work.
|
||||
static std::string getNodeAttributes(const ExplodedNode *N,
|
||||
ExplodedGraph *G) {
|
||||
if (N->isSink())
|
||||
return "color=red";
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue