[Lldb-commits] [lldb] [LLDB] Remove fallthrough (PR #216398)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 14 13:49:08 PDT 2026
https://github.com/adrian-prantl updated https://github.com/llvm/llvm-project/pull/216398
>From b1beae35c460175c08e0ac9bd0b89ab93215b687 Mon Sep 17 00:00:00 2001
From: Adrian Prantl <aprantl at apple.com>
Date: Fri, 14 Aug 2026 13:45:25 -0700
Subject: [PATCH] [LLDB] Remove fallthrough
Address post-commit feedback on 8ad0f7cf78f12.
---
lldb/source/API/CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt
index 618610b9b93bc..e599de310a4bd 100644
--- a/lldb/source/API/CMakeLists.txt
+++ b/lldb/source/API/CMakeLists.txt
@@ -315,7 +315,8 @@ foreach(header
${LLDB_SOURCE_DIR}/scripts/version-header-fix.py
-i ${header} -o ${staged_header}
-m ${LLDB_VERSION_MAJOR} -n ${LLDB_VERSION_MINOR} -p ${LLDB_VERSION_PATCH})
- elseif(unifdef_EXECUTABLE)
+ endif()
+ if(unifdef_EXECUTABLE)
# unifdef returns 0 when the file is unchanged and 1 if something was changed.
# That means if we successfully remove SWIG code, the build system believes
# that the command has failed and stops. This is undesirable.
More information about the lldb-commits
mailing list