[PATCH] D15227: [analyzer] Valist checkers.

Devin Coughlin via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 1 12:57:09 PDT 2016


dcoughlin added inline comments.

================
Comment at: lib/StaticAnalyzer/Checkers/ValistChecker.cpp:177
@@ +176,3 @@
+  if (ExplodedNode *N = C.addTransition(State))
+    reportLeakedVALists(LeakedVALists, "Initialized va_list", " is leaked", C,
+                        N);
----------------
Are there tests for this diagnostic? I don't see any.


https://reviews.llvm.org/D15227





More information about the cfe-commits mailing list