Mark SBFrame::GetFunctionName and SBFrame::IsInlined as const.

llvm-svn: 240435
This commit is contained in:
Oleksiy Vyalov 2015-06-23 18:21:55 +00:00
parent d4a667a4c0
commit a5d9c1d32f
3 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -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

View File

@ -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;