NoQ added inline comments.

================
Comment at: lib/StaticAnalyzer/Checkers/MallocChecker.cpp:2488
+
+  checkPreStmt(S, C);
+}
----------------
Let's do a common sub-function, similarly to how 
`MallocChecker::checkPointerEscape` and 
`MallocChecker::checkConstPointerEscape` both call 
`MallocChecker::checkPointerEscapeAux`. Should prevent us from unleashing 
`addTransition` hell if the code becomes more complicated.


https://reviews.llvm.org/D49361



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to