[llvm] ef86a31 - [CMake] Fix mismatched endif warning
David Spickett via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 29 07:21:12 PST 2024
Author: David Spickett
Date: 2024-11-29T15:20:38Z
New Revision: ef86a31a593a023946a2dc805948360efdad3930
URL: https://github.com/llvm/llvm-project/commit/ef86a31a593a023946a2dc805948360efdad3930
DIFF: https://github.com/llvm/llvm-project/commit/ef86a31a593a023946a2dc805948360efdad3930.diff
LOG: [CMake] Fix mismatched endif warning
Caused by https://github.com/llvm/llvm-project/pull/116701.
Seems like a lot of arguments to repeat, so just use a plain endif().
Added:
Modified:
llvm/cmake/modules/GetHostTriple.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/modules/GetHostTriple.cmake b/llvm/cmake/modules/GetHostTriple.cmake
index d3b26d445c9962..e58d5b1ef14d45 100644
--- a/llvm/cmake/modules/GetHostTriple.cmake
+++ b/llvm/cmake/modules/GetHostTriple.cmake
@@ -55,6 +55,6 @@ function( get_host_triple var )
endif( NOT TT_RV EQUAL 0 )
set( value ${TT_OUT} )
endif()
- endif( MSVC )
+ endif()
set( ${var} ${value} PARENT_SCOPE )
endfunction( get_host_triple var )
More information about the llvm-commits
mailing list