[llvm] r268812 - cmake: Avoid continue, apparently that's new
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Fri May 6 15:22:26 PDT 2016
Author: bogner
Date: Fri May 6 17:22:25 2016
New Revision: 268812
URL: http://llvm.org/viewvc/llvm-project?rev=268812&view=rev
Log:
cmake: Avoid continue, apparently that's new
Modified:
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=268812&r1=268811&r2=268812&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Fri May 6 17:22:25 2016
@@ -1059,14 +1059,13 @@ function(add_lit_testsuites project dire
set(cur_to_process ${to_process})
set(to_process)
foreach(lit_suite ${cur_to_process})
- if(NOT IS_DIRECTORY ${lit_suite})
- continue()
- endif()
- string(FIND ${lit_suite} Inputs is_inputs)
- if (is_inputs EQUAL -1)
- list(APPEND lit_suites "${lit_suite}")
- file(GLOB subdirs ${lit_suite}/*)
- list(APPEND to_process ${subdirs})
+ if(IS_DIRECTORY ${lit_suite})
+ string(FIND ${lit_suite} Inputs is_inputs)
+ if (is_inputs EQUAL -1)
+ list(APPEND lit_suites "${lit_suite}")
+ file(GLOB subdirs ${lit_suite}/*)
+ list(APPEND to_process ${subdirs})
+ endif()
endif()
endforeach()
endwhile()
More information about the llvm-commits
mailing list