diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-04-03 17:56:48 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-04-03 17:56:48 +0000 |
commit | 84867e60a466fa1199eb4e838ddf873a2f7658a9 (patch) | |
tree | 8d69abce51d1b44fcb7307acd6839af2754f39be | |
parent | 344f7e3759cad217b0c3f7ff849e906f5970f554 (diff) |
Mark nodes as sinks that GRAuditor says should be marked as sinks.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49179 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Analysis/PathSensitive/GRCoreEngine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/GRCoreEngine.h b/include/clang/Analysis/PathSensitive/GRCoreEngine.h index 4228531fb2..35fddadf33 100644 --- a/include/clang/Analysis/PathSensitive/GRCoreEngine.h +++ b/include/clang/Analysis/PathSensitive/GRCoreEngine.h @@ -261,7 +261,8 @@ public: Dst.Add(N); for ( ; AB != AE; ++AB) - (*AB)->Audit(N); + if ((*AB)->Audit(N)) + N->markAsSink(); } } |