[Lldb-commits] [lldb] b6671f8 - [lldb] [windows] Add a [[fallthrough]] to silence warnings. NFC. (#191400)

via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 10 14:01:06 PDT 2026


Author: Martin Storsjö
Date: 2026-04-11T00:01:01+03:00
New Revision: b6671f8a83bcddf2ccdad217d81a6f93356f951a

URL: https://github.com/llvm/llvm-project/commit/b6671f8a83bcddf2ccdad217d81a6f93356f951a
DIFF: https://github.com/llvm/llvm-project/commit/b6671f8a83bcddf2ccdad217d81a6f93356f951a.diff

LOG: [lldb] [windows] Add a [[fallthrough]] to silence warnings. NFC. (#191400)

Added: 
    

Modified: 
    lldb/source/Host/windows/ProcessLauncherWindows.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Host/windows/ProcessLauncherWindows.cpp b/lldb/source/Host/windows/ProcessLauncherWindows.cpp
index b9cc49d8c5ca5..79e0faca64961 100644
--- a/lldb/source/Host/windows/ProcessLauncherWindows.cpp
+++ b/lldb/source/Host/windows/ProcessLauncherWindows.cpp
@@ -340,6 +340,7 @@ HANDLE ProcessLauncherWindows::GetStdioHandle(const llvm::StringRef path,
     break;
   case STDERR_FILENO:
     flags = FILE_FLAG_WRITE_THROUGH;
+    [[fallthrough]];
   case STDOUT_FILENO:
     access = GENERIC_WRITE;
     create = CREATE_ALWAYS;


        


More information about the lldb-commits mailing list