[PATCH] D12780: [analyzer] Add generateErrorNode() APIs to CheckerContext

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 16 13:10:29 PDT 2015


xazax.hun added inline comments.

================
Comment at: include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:328
@@ -290,1 +327,3 @@
+    // DereferenceChecker, CallAndMessageChecker, and DynamicTypePropagation)
+    // rely upon the defensive behavior and would need to be updated.
     if (!State || (State == Pred->getState() && !Tag && !MarkAsSink))
----------------
I think the most common form of relying on this branch is adding a transition to an unchanged state.


http://reviews.llvm.org/D12780





More information about the cfe-commits mailing list