diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-10-31 22:50:37 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-10-31 22:50:37 +0000 |
commit | f9f7032b5df26ecddb07ecf79ed5e0dbad12e3a8 (patch) | |
tree | ccfe4c33c06d0f174fa20868c24afda9a32ae04e | |
parent | 8914cba5762233fb67bd9e77287bf3bc55c5c0b0 (diff) | |
download | bcm5719-llvm-f9f7032b5df26ecddb07ecf79ed5e0dbad12e3a8.tar.gz bcm5719-llvm-f9f7032b5df26ecddb07ecf79ed5e0dbad12e3a8.zip |
warnings: Fix up several const qualified return types.
llvm-svn: 143379
-rw-r--r-- | lldb/include/lldb/Core/FormatClasses.h | 2 | ||||
-rw-r--r-- | lldb/include/lldb/Target/Target.h | 4 | ||||
-rw-r--r-- | lldb/source/Core/FormatClasses.cpp | 2 | ||||
-rw-r--r-- | lldb/source/Target/Target.cpp | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/lldb/include/lldb/Core/FormatClasses.h b/lldb/include/lldb/Core/FormatClasses.h index cf9258ae9fb..850ae903835 100644 --- a/lldb/include/lldb/Core/FormatClasses.h +++ b/lldb/include/lldb/Core/FormatClasses.h @@ -483,7 +483,7 @@ public: return m_head.GetCount(); } - const int + int GetRealIndexForIndex(int i); bool diff --git a/lldb/include/lldb/Target/Target.h b/lldb/include/lldb/Target/Target.h index 38410430f18..ec4f67103a7 100644 --- a/lldb/include/lldb/Target/Target.h +++ b/lldb/include/lldb/Target/Target.h @@ -507,7 +507,7 @@ public: /// /// @return \b true if the module should be excluded, \b false otherwise. //------------------------------------------------------------------ - const bool + bool ModuleIsExcludedForNonModuleSpecificSearches (const FileSpec &module_spec); //------------------------------------------------------------------ @@ -529,7 +529,7 @@ public: /// /// @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/lldb/source/Core/FormatClasses.cpp b/lldb/source/Core/FormatClasses.cpp index ef067344480..04b57adabe4 100644 --- a/lldb/source/Core/FormatClasses.cpp +++ b/lldb/source/Core/FormatClasses.cpp @@ -278,7 +278,7 @@ SyntheticScriptProvider::GetDescription() return sstr.GetString(); } -const int +int SyntheticArrayView::GetRealIndexForIndex(int i) { if (i >= GetCount()) diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index 367bfc8d9c8..5c4f0caa868 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -935,7 +935,7 @@ Target::ModulesDidUnload (ModuleList &module_list) } -const bool +bool Target::ModuleIsExcludedForNonModuleSpecificSearches (const FileSpec &module_spec) { @@ -965,7 +965,7 @@ Target::ModuleIsExcludedForNonModuleSpecificSearches (const FileSpec &module_spe } } -const bool +bool Target::ModuleIsExcludedForNonModuleSpecificSearches (const lldb::ModuleSP &module_sp) { if (!m_breakpoints_use_platform_avoid) |