summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/API/SBFrame.h6
-rw-r--r--lldb/scripts/interface/SBFrame.i4
-rw-r--r--lldb/source/API/SBFrame.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/lldb/include/lldb/API/SBFrame.h b/lldb/include/lldb/API/SBFrame.h
index 912765edd71..e97169b3313 100644
--- a/lldb/include/lldb/API/SBFrame.h
+++ b/lldb/include/lldb/API/SBFrame.h
@@ -89,18 +89,18 @@ public:
///
/// See also IsInlined().
const char *
- GetFunctionName();
+ GetFunctionName() const;
/// Return true if this frame represents an inlined function.
///
/// See also GetFunctionName().
bool
- IsInlined();
+ IsInlined() const;
/// The version that doesn't supply a 'use_dynamic' value will use the
/// target's default.
lldb::SBValue
- EvaluateExpression (const char *expr);
+ EvaluateExpression (const char *expr);
lldb::SBValue
EvaluateExpression (const char *expr, lldb::DynamicValueType use_dynamic);
diff --git a/lldb/scripts/interface/SBFrame.i b/lldb/scripts/interface/SBFrame.i
index 2211dd103f9..4bc0da6d800 100644
--- a/lldb/scripts/interface/SBFrame.i
+++ b/lldb/scripts/interface/SBFrame.i
@@ -126,7 +126,7 @@ public:
/// See also IsInlined().
") GetFunctionName;
const char *
- GetFunctionName();
+ GetFunctionName() const;
%feature("docstring", "
/// Return true if this frame represents an inlined function.
@@ -134,7 +134,7 @@ public:
/// See also GetFunctionName().
") IsInlined;
bool
- IsInlined();
+ IsInlined() const;
%feature("docstring", "
/// The version that doesn't supply a 'use_dynamic' value will use the
diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp
index 224b6663a42..0081b09fd1e 100644
--- a/lldb/source/API/SBFrame.cpp
+++ b/lldb/source/API/SBFrame.cpp
@@ -1499,7 +1499,7 @@ SBFrame::EvaluateExpression (const char *expr, const SBExpressionOptions &option
}
bool
-SBFrame::IsInlined()
+SBFrame::IsInlined() const
{
Log *log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
ExecutionContext exe_ctx(m_opaque_sp.get());
@@ -1536,7 +1536,7 @@ SBFrame::IsInlined()
}
const char *
-SBFrame::GetFunctionName()
+SBFrame::GetFunctionName() const
{
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
const char *name = NULL;
OpenPOWER on IntegriCloud