NoQ added inline comments.

================
Comment at: lib/StaticAnalyzer/Checkers/RecursionChecker.cpp:65
+
+  for (const auto *ParentLC = C.getStackFrame()->getParent();
+       ParentLC != nullptr; ParentLC = ParentLC->getParent()) {
----------------
Off-by-1: `C.getStackFrame()` is already the caller context, which we should 
check.


https://reviews.llvm.org/D26589



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

Reply via email to