Author: Adrian Prantl
Date: 2026-08-14T13:49:13-07:00
New Revision: 99690a356c8c059db73786adecd827d7f20e3297

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

LOG: [LLDB] Remove fallthrough (#216398)

Address post-commit feedback on
https://github.com/llvm/llvm-project/commit/8ad0f7cf78f12b51e91d3799593a1d766b6ab6a6.

Added: 
    

Modified: 
    lldb/source/API/CMakeLists.txt

Removed: 
    


################################################################################
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.


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to