warnings: Fix up several const qualified return types.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143379 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/lldb/Core/FormatClasses.h b/include/lldb/Core/FormatClasses.h
index cf9258a..850ae90 100644
--- a/include/lldb/Core/FormatClasses.h
+++ b/include/lldb/Core/FormatClasses.h
@@ -483,7 +483,7 @@
return m_head.GetCount();
}
- const int
+ int
GetRealIndexForIndex(int i);
bool
diff --git a/include/lldb/Target/Target.h b/include/lldb/Target/Target.h
index 3841043..ec4f671 100644
--- a/include/lldb/Target/Target.h
+++ b/include/lldb/Target/Target.h
@@ -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 &
diff --git a/source/Core/FormatClasses.cpp b/source/Core/FormatClasses.cpp
index ef06734..04b57ad 100644
--- a/source/Core/FormatClasses.cpp
+++ b/source/Core/FormatClasses.cpp
@@ -278,7 +278,7 @@
return sstr.GetString();
}
-const int
+int
SyntheticArrayView::GetRealIndexForIndex(int i)
{
if (i >= GetCount())
diff --git a/source/Target/Target.cpp b/source/Target/Target.cpp
index 367bfc8..5c4f0ca 100644
--- a/source/Target/Target.cpp
+++ b/source/Target/Target.cpp
@@ -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)