================
@@ -103,6 +103,11 @@ class CheckerContext {
 
   const StackFrame *getStackFrame() const { return Pred->getStackFrame(); }
 
+  /// Iterates over the current stack frame and all of its ancestors.
+  llvm::iterator_range<StackFrame::parent_iterator> stackframes() const {
----------------
Xazax-hun wrote:

Alternative name for your consideration (no strong preference): `callstack`.

https://github.com/llvm/llvm-project/pull/210938
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to