Revert rL240435: "Mark SBFrame::GetFunctionName and SBFrame::IsInlined as const.".

llvm-svn: 240565
This commit is contained in:
Oleksiy Vyalov 2015-06-24 18:35:36 +00:00
parent 19e86199f1
commit 6345fe3eb3
3 changed files with 7 additions and 7 deletions

View File

@ -89,13 +89,13 @@ public:
/// ///
/// See also IsInlined(). /// See also IsInlined().
const char * const char *
GetFunctionName() const; GetFunctionName();
/// Return true if this frame represents an inlined function. /// Return true if this frame represents an inlined function.
/// ///
/// See also GetFunctionName(). /// See also GetFunctionName().
bool bool
IsInlined() const; IsInlined();
/// The version that doesn't supply a 'use_dynamic' value will use the /// The version that doesn't supply a 'use_dynamic' value will use the
/// target's default. /// target's default.

View File

@ -126,7 +126,7 @@ public:
/// See also IsInlined(). /// See also IsInlined().
") GetFunctionName; ") GetFunctionName;
const char * const char *
GetFunctionName() const; GetFunctionName();
%feature("docstring", " %feature("docstring", "
/// Return true if this frame represents an inlined function. /// Return true if this frame represents an inlined function.
@ -134,7 +134,7 @@ public:
/// See also GetFunctionName(). /// See also GetFunctionName().
") IsInlined; ") IsInlined;
bool bool
IsInlined() const; IsInlined();
%feature("docstring", " %feature("docstring", "
/// The version that doesn't supply a 'use_dynamic' value will use the /// 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 bool
SBFrame::IsInlined() const SBFrame::IsInlined()
{ {
Log *log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API)); Log *log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
ExecutionContext exe_ctx(m_opaque_sp.get()); ExecutionContext exe_ctx(m_opaque_sp.get());
@ -1536,7 +1536,7 @@ SBFrame::IsInlined() const
} }
const char * const char *
SBFrame::GetFunctionName() const SBFrame::GetFunctionName()
{ {
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API)); Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
const char *name = NULL; const char *name = NULL;