Fix warnings found by -Wextra-semi
patch by Eugene Zelenko.
llvm-svn: 242875
diff --git a/lldb/source/API/SBValueList.cpp b/lldb/source/API/SBValueList.cpp
index 71fabe0..5461b05 100644
--- a/lldb/source/API/SBValueList.cpp
+++ b/lldb/source/API/SBValueList.cpp
@@ -39,7 +39,7 @@
return *this;
m_values = rhs.m_values;
return *this;
- };
+ }
uint32_t
GetSize ()
@@ -297,5 +297,3 @@
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 918bc7b..0b0b747 100644
--- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.h
+++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.h
@@ -63,7 +63,7 @@
WriteFPR();
virtual void*
- GetGPRBuffer() { return nullptr; };
+ GetGPRBuffer() { return nullptr; }
virtual size_t
GetGPRSize() { return GetRegisterInfoInterface().GetGPRSize(); }
@@ -105,4 +105,3 @@
} // 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 b866766..4207df6 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -192,7 +192,7 @@
{
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 ba2e8ad..0281b5a 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDataExtractor.h
@@ -19,10 +19,10 @@
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 @@
}
#endif // liblldb_DWARFDataExtractor_h_
-
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h b/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
index 48d1f7f..0d4bee7 100644
--- a/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
+++ b/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
@@ -199,7 +199,7 @@
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 1bec206..c1a4712 100644
--- a/lldb/source/Target/LanguageRuntime.cpp
+++ b/lldb/source/Target/LanguageRuntime.cpp
@@ -34,7 +34,7 @@
}
virtual
- ~ExceptionSearchFilter() {};
+ ~ExceptionSearchFilter() {}
bool
ModulePasses (const lldb::ModuleSP &module_sp) override
@@ -493,6 +493,3 @@
{
return m_process->GetTarget().GetSearchFilterForModule(NULL);
}
-
-
-