[Lldb-commits] [lldb] r149523 - in /lldb/trunk: include/lldb/Breakpoint/BreakpointLocation.h source/Breakpoint/BreakpointLocation.cpp
Johnny Chen
johnny.chen at apple.com
Wed Feb 1 11:05:21 PST 2012
Author: johnny
Date: Wed Feb 1 13:05:20 2012
New Revision: 149523
URL: http://llvm.org/viewvc/llvm-project?rev=149523&view=rev
Log:
Add const-ness to BreakpointLocation::IsEnabled().
Modified:
lldb/trunk/include/lldb/Breakpoint/BreakpointLocation.h
lldb/trunk/source/Breakpoint/BreakpointLocation.cpp
Modified: lldb/trunk/include/lldb/Breakpoint/BreakpointLocation.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Breakpoint/BreakpointLocation.h?rev=149523&r1=149522&r2=149523&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Breakpoint/BreakpointLocation.h (original)
+++ lldb/trunk/include/lldb/Breakpoint/BreakpointLocation.h Wed Feb 1 13:05:20 2012
@@ -111,7 +111,7 @@
/// \b true if the breakpoint is enabled, \b false if disabled.
//------------------------------------------------------------------
bool
- IsEnabled ();
+ IsEnabled () const;
//------------------------------------------------------------------
/// Return the current Ignore Count.
Modified: lldb/trunk/source/Breakpoint/BreakpointLocation.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/BreakpointLocation.cpp?rev=149523&r1=149522&r2=149523&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/BreakpointLocation.cpp (original)
+++ lldb/trunk/source/Breakpoint/BreakpointLocation.cpp Wed Feb 1 13:05:20 2012
@@ -70,7 +70,7 @@
}
bool
-BreakpointLocation::IsEnabled ()
+BreakpointLocation::IsEnabled () const
{
if (!m_owner.IsEnabled())
return false;
More information about the lldb-commits
mailing list