[Lldb-commits] [lldb] r240565 - Revert rL240435: "Mark SBFrame::GetFunctionName and SBFrame::IsInlined as const.".
Oleksiy Vyalov
ovyalov at google.com
Wed Jun 24 11:35:36 PDT 2015
Author: ovyalov
Date: Wed Jun 24 13:35:36 2015
New Revision: 240565
URL: http://llvm.org/viewvc/llvm-project?rev=240565&view=rev
Log:
Revert rL240435: "Mark SBFrame::GetFunctionName and SBFrame::IsInlined as const.".
Modified:
lldb/trunk/include/lldb/API/SBFrame.h
lldb/trunk/scripts/interface/SBFrame.i
lldb/trunk/source/API/SBFrame.cpp
Modified: lldb/trunk/include/lldb/API/SBFrame.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBFrame.h?rev=240565&r1=240564&r2=240565&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBFrame.h (original)
+++ lldb/trunk/include/lldb/API/SBFrame.h Wed Jun 24 13:35:36 2015
@@ -89,18 +89,18 @@ public:
///
/// See also IsInlined().
const char *
- GetFunctionName() const;
+ GetFunctionName();
/// Return true if this frame represents an inlined function.
///
/// See also GetFunctionName().
bool
- IsInlined() const;
+ IsInlined();
/// 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);
Modified: lldb/trunk/scripts/interface/SBFrame.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/interface/SBFrame.i?rev=240565&r1=240564&r2=240565&view=diff
==============================================================================
--- lldb/trunk/scripts/interface/SBFrame.i (original)
+++ lldb/trunk/scripts/interface/SBFrame.i Wed Jun 24 13:35:36 2015
@@ -126,7 +126,7 @@ public:
/// See also IsInlined().
") GetFunctionName;
const char *
- GetFunctionName() const;
+ GetFunctionName();
%feature("docstring", "
/// Return true if this frame represents an inlined function.
@@ -134,7 +134,7 @@ public:
/// See also GetFunctionName().
") IsInlined;
bool
- IsInlined() const;
+ IsInlined();
%feature("docstring", "
/// The version that doesn't supply a 'use_dynamic' value will use the
Modified: lldb/trunk/source/API/SBFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBFrame.cpp?rev=240565&r1=240564&r2=240565&view=diff
==============================================================================
--- lldb/trunk/source/API/SBFrame.cpp (original)
+++ lldb/trunk/source/API/SBFrame.cpp Wed Jun 24 13:35:36 2015
@@ -1499,7 +1499,7 @@ SBFrame::EvaluateExpression (const char
}
bool
-SBFrame::IsInlined() const
+SBFrame::IsInlined()
{
Log *log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
ExecutionContext exe_ctx(m_opaque_sp.get());
@@ -1536,7 +1536,7 @@ SBFrame::IsInlined() const
}
const char *
-SBFrame::GetFunctionName() const
+SBFrame::GetFunctionName()
{
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
const char *name = NULL;
More information about the lldb-commits
mailing list