Mark nodes as sinks that GRAuditor says should be marked as sinks.

llvm-svn: 49179
This commit is contained in:
Ted Kremenek 2008-04-03 17:56:48 +00:00
parent b5c8225320
commit c2546d6518
1 changed files with 2 additions and 1 deletions

View File

@ -261,7 +261,8 @@ public:
Dst.Add(N);
for ( ; AB != AE; ++AB)
(*AB)->Audit(N);
if ((*AB)->Audit(N))
N->markAsSink();
}
}