[Lldb-commits] [PATCH] D147587: Fix the check in StopInfoBreakpoint for "are we running an expression"
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 4 22:01:06 PDT 2023
JDevlieghere accepted this revision.
JDevlieghere added a comment.
This revision is now accepted and ready to land.
LGTM modulo naming preference
================
Comment at: lldb/include/lldb/Target/Process.h:287-292
+ bool CurrentlyRunningExpression() const {
+ // Don't return true if we are no longer running an expression:
+ if (m_running_user_expression || m_running_utility_function)
+ return true;
+ return false;
+ }
----------------
I would prefer `IsRunningExpression` for consistency with other `IsFoo` methods. It still conveys that the process is in the process of executing an expression. /end bikeshedding
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147587/new/
https://reviews.llvm.org/D147587
More information about the lldb-commits
mailing list