[Lldb-commits] [lldb] r143379 - in /lldb/trunk: include/lldb/Core/FormatClasses.h include/lldb/Target/Target.h source/Core/FormatClasses.cpp source/Target/Target.cpp
Daniel Dunbar
daniel at zuster.org
Mon Oct 31 15:50:37 PDT 2011
Author: ddunbar
Date: Mon Oct 31 17:50:37 2011
New Revision: 143379
URL: http://llvm.org/viewvc/llvm-project?rev=143379&view=rev
Log:
warnings: Fix up several const qualified return types.
Modified:
lldb/trunk/include/lldb/Core/FormatClasses.h
lldb/trunk/include/lldb/Target/Target.h
lldb/trunk/source/Core/FormatClasses.cpp
lldb/trunk/source/Target/Target.cpp
Modified: lldb/trunk/include/lldb/Core/FormatClasses.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/FormatClasses.h?rev=143379&r1=143378&r2=143379&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/FormatClasses.h (original)
+++ lldb/trunk/include/lldb/Core/FormatClasses.h Mon Oct 31 17:50:37 2011
@@ -483,7 +483,7 @@
return m_head.GetCount();
}
- const int
+ int
GetRealIndexForIndex(int i);
bool
Modified: lldb/trunk/include/lldb/Target/Target.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/Target.h?rev=143379&r1=143378&r2=143379&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/Target.h (original)
+++ lldb/trunk/include/lldb/Target/Target.h Mon Oct 31 17:50:37 2011
@@ -507,7 +507,7 @@
///
/// @return \b true if the module should be excluded, \b false otherwise.
//------------------------------------------------------------------
- const bool
+ bool
ModuleIsExcludedForNonModuleSpecificSearches (const FileSpec &module_spec);
//------------------------------------------------------------------
@@ -529,7 +529,7 @@
///
/// @return \b true if the module should be excluded, \b false otherwise.
//------------------------------------------------------------------
- const bool
+ bool
ModuleIsExcludedForNonModuleSpecificSearches (const lldb::ModuleSP &module_sp);
ArchSpec &
Modified: lldb/trunk/source/Core/FormatClasses.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/FormatClasses.cpp?rev=143379&r1=143378&r2=143379&view=diff
==============================================================================
--- lldb/trunk/source/Core/FormatClasses.cpp (original)
+++ lldb/trunk/source/Core/FormatClasses.cpp Mon Oct 31 17:50:37 2011
@@ -278,7 +278,7 @@
return sstr.GetString();
}
-const int
+int
SyntheticArrayView::GetRealIndexForIndex(int i)
{
if (i >= GetCount())
Modified: lldb/trunk/source/Target/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Target.cpp?rev=143379&r1=143378&r2=143379&view=diff
==============================================================================
--- lldb/trunk/source/Target/Target.cpp (original)
+++ lldb/trunk/source/Target/Target.cpp Mon Oct 31 17:50:37 2011
@@ -935,7 +935,7 @@
}
-const bool
+bool
Target::ModuleIsExcludedForNonModuleSpecificSearches (const FileSpec &module_spec)
{
@@ -965,7 +965,7 @@
}
}
-const bool
+bool
Target::ModuleIsExcludedForNonModuleSpecificSearches (const lldb::ModuleSP &module_sp)
{
if (!m_breakpoints_use_platform_avoid)
More information about the lldb-commits
mailing list