[PATCH] D28330: [analyzer] Fix false positives in Keychain API checker

Alexander Shaposhnikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 4 15:59:56 PST 2017


alexshap added inline comments.


================
Comment at: lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp:527
+  if (ReturnSymbol)
+    for (AllocatedDataTy::iterator I = ASet.begin(), E = ASet.end();
+                                   I != E; ++I) {
----------------
alexshap wrote:
> nit: auto I = ...
and the same below (although not particularly important) 


https://reviews.llvm.org/D28330





More information about the cfe-commits mailing list