xazax.hun added inline comments.

================
Comment at: lib/StaticAnalyzer/Core/CoreEngine.cpp:662
+  bool EdgeExists = false;
+  for (auto I = N->pred_begin(), E = N->pred_end(); I != E; ++I)
+    if (*I == FromN) {
----------------
I prefer having the braces written in this case, but it is a minor nit.

Wouldn't using an algorithm like std::find work as well?


Repository:
  rL LLVM

https://reviews.llvm.org/D27710



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

Reply via email to