[cfe-commits] r49179 - /cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h
Ted Kremenek
kremenek at apple.com
Thu Apr 3 10:56:48 PDT 2008
Author: kremenek
Date: Thu Apr 3 12:56:48 2008
New Revision: 49179
URL: http://llvm.org/viewvc/llvm-project?rev=49179&view=rev
Log:
Mark nodes as sinks that GRAuditor says should be marked as sinks.
Modified:
cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h
Modified: cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h?rev=49179&r1=49178&r2=49179&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/GRCoreEngine.h Thu Apr 3 12:56:48 2008
@@ -261,7 +261,8 @@
Dst.Add(N);
for ( ; AB != AE; ++AB)
- (*AB)->Audit(N);
+ if ((*AB)->Audit(N))
+ N->markAsSink();
}
}
More information about the cfe-commits
mailing list