[Lldb-commits] [lldb] [LLDB][OSX] Removed semi colon generating a warning during build (PR #104398)

via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 14 21:13:46 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Daniel Wedzicha (boredhuman)

<details>
<summary>Changes</summary>

Singular warning I noticed when compiling lldb.

---
Full diff: https://github.com/llvm/llvm-project/pull/104398.diff


1 Files Affected:

- (modified) lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm (+1-1) 


``````````diff
diff --git a/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm b/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
index b714f7be187aca..d27bd1b7426e6c 100644
--- a/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
+++ b/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
@@ -128,7 +128,7 @@ static void ParseOSVersion(llvm::VersionTuple &version, NSString *Key) {
 static bool ResolveAndVerifyCandidateSupportDir(FileSpec &path) {
   FileSystem::Instance().Resolve(path);
   return FileSystem::Instance().IsDirectory(path);
-};
+}
 
 bool HostInfoMacOSX::ComputeSupportExeDirectory(FileSpec &file_spec) {
   FileSpec lldb_file_spec = GetShlibDir();

``````````

</details>


https://github.com/llvm/llvm-project/pull/104398


More information about the lldb-commits mailing list