[llvm] r360248 - Fix whitespace mismatches. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 06:02:32 PDT 2019
Author: rksimon
Date: Wed May 8 06:02:32 2019
New Revision: 360248
URL: http://llvm.org/viewvc/llvm-project?rev=360248&view=rev
Log:
Fix whitespace mismatches. NFCI.
Tabs are not our friends.
Modified:
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=360248&r1=360247&r2=360248&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Wed May 8 06:02:32 2019
@@ -220,10 +220,10 @@ function(add_flag_or_print_warning flag
endfunction()
if( LLVM_ENABLE_LLD )
- if ( LLVM_USE_LINKER )
- message(FATAL_ERROR "LLVM_ENABLE_LLD and LLVM_USE_LINKER can't be set at the same time")
- endif()
- set(LLVM_USE_LINKER "lld")
+ if ( LLVM_USE_LINKER )
+ message(FATAL_ERROR "LLVM_ENABLE_LLD and LLVM_USE_LINKER can't be set at the same time")
+ endif()
+ set(LLVM_USE_LINKER "lld")
endif()
if( LLVM_USE_LINKER )
@@ -231,7 +231,7 @@ if( LLVM_USE_LINKER )
set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fuse-ld=${LLVM_USE_LINKER}")
check_cxx_source_compiles("int main() { return 0; }" CXX_SUPPORTS_CUSTOM_LINKER)
if ( NOT CXX_SUPPORTS_CUSTOM_LINKER )
- message(FATAL_ERROR "Host compiler does not support '-fuse-ld=${LLVM_USE_LINKER}'")
+ message(FATAL_ERROR "Host compiler does not support '-fuse-ld=${LLVM_USE_LINKER}'")
endif()
set(CMAKE_REQUIRED_FLAGS ${OLD_CMAKE_REQUIRED_FLAGS})
append("-fuse-ld=${LLVM_USE_LINKER}"
More information about the llvm-commits
mailing list