diff options
author | Pavel Labath <labath@google.com> | 2015-07-22 08:12:01 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-07-22 08:12:01 +0000 |
commit | cb213b3831f6677e90410e7c184b0a89f7e128bf (patch) | |
tree | 3dbe07741a5379e0eaff0437001cdf2f62277ce8 /lldb/source | |
parent | c2f33f6754ca689e609abe8e8cb33477e7a01b4e (diff) | |
download | bcm5719-llvm-cb213b3831f6677e90410e7c184b0a89f7e128bf.tar.gz bcm5719-llvm-cb213b3831f6677e90410e7c184b0a89f7e128bf.zip |
Fix warnings found by -Wextra-semi
patch by Eugene Zelenko.
llvm-svn: 242875
Diffstat (limited to 'lldb/source')
6 files changed, 7 insertions, 14 deletions
diff --git a/lldb/source/API/SBValueList.cpp b/lldb/source/API/SBValueList.cpp index 71fabe0dfc0..5461b05fb19 100644 --- a/lldb/source/API/SBValueList.cpp +++ b/lldb/source/API/SBValueList.cpp @@ -39,7 +39,7 @@ public: return *this; m_values = rhs.m_values; return *this; - }; + } uint32_t GetSize () @@ -297,5 +297,3 @@ SBValueList::ref () CreateIfNeeded(); return *m_opaque_ap.get(); } - - diff --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.h b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.h index 918bc7bda75..0b0b747984b 100644 --- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.h +++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.h @@ -63,7 +63,7 @@ protected: WriteFPR(); virtual void* - GetGPRBuffer() { return nullptr; }; + GetGPRBuffer() { return nullptr; } virtual size_t GetGPRSize() { return GetRegisterInfoInterface().GetGPRSize(); } @@ -105,4 +105,3 @@ protected: } // namespace lldb_private #endif // #ifndef lldb_NativeRegisterContextLinux_h - diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index b866766dec6..4207df681c1 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -192,7 +192,7 @@ public: { for (uint32_t i = 0; i < e_num; ++i) m_has[i] = false; - }; + } void set_name (const std::string & name) { diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h index ba2e8ad08ac..0281b5ad5c8 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h @@ -19,10 +19,10 @@ namespace lldb_private { class DWARFDataExtractor : public lldb_private::DataExtractor { public: - DWARFDataExtractor() : DataExtractor(), m_is_dwarf64(false) { }; + DWARFDataExtractor() : DataExtractor(), m_is_dwarf64(false) { } DWARFDataExtractor (const DWARFDataExtractor& data, lldb::offset_t offset, lldb::offset_t length) : - DataExtractor(data, offset, length), m_is_dwarf64(false) { }; + DataExtractor(data, offset, length), m_is_dwarf64(false) { } uint64_t GetDWARFInitialLength(lldb::offset_t *offset_ptr) const; @@ -43,4 +43,3 @@ protected: } #endif // liblldb_DWARFDataExtractor_h_ - diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h b/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h index 48d1f7fefb3..0d4bee72770 100644 --- a/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h +++ b/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h @@ -199,7 +199,7 @@ private: dqo_target_queue = UINT16_MAX; dqo_target_queue = UINT16_MAX; dqo_priority = UINT16_MAX; - }; + } bool IsValid () diff --git a/lldb/source/Target/LanguageRuntime.cpp b/lldb/source/Target/LanguageRuntime.cpp index 1bec2063ad0..c1a4712abc9 100644 --- a/lldb/source/Target/LanguageRuntime.cpp +++ b/lldb/source/Target/LanguageRuntime.cpp @@ -34,7 +34,7 @@ public: } virtual - ~ExceptionSearchFilter() {}; + ~ExceptionSearchFilter() {} bool ModulePasses (const lldb::ModuleSP &module_sp) override @@ -493,6 +493,3 @@ LanguageRuntime::CreateExceptionSearchFilter () { return m_process->GetTarget().GetSearchFilterForModule(NULL); } - - - |