Skip to content

Commit befd014

Browse files
constexpr constant
Co-authored-by: Jonas Devlieghere <[email protected]>
1 parent 0083d17 commit befd014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Target/InstrumentationRuntimeStopInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ InstrumentationRuntimeStopInfo::GetSuggestedStackFrameIndex(
5151

5252
// Defensive upper-bound of when we stop walking up the frames in
5353
// case we somehow ended up looking at an infinite recursion.
54-
const size_t max_stack_depth = 128;
54+
constexpr const size_t k_max_stack_depth = 128;
5555

5656
// Start at parent frame.
5757
size_t stack_idx = 1;

0 commit comments

Comments
 (0)