a.sidorin added a comment.

Looks useful and mostly good. A small advice is in inline comments.



================
Comment at: lib/StaticAnalyzer/Core/BugReporter.cpp:3294
+  // Find the node's current statement in the CFG.
+  // FIXME: CFG lookup should be made easier.
+  const CFG &Cfg = N->getCFG();
----------------
Maybe it is possible to use `CFGStmtMap` for search?


https://reviews.llvm.org/D28023



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

Reply via email to