[PATCH] D70159: [cmake] Remove confusing condition argument from else() NFC

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 16:41:27 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG80ed7f8397ce: [cmake] Remove confusing condition argument from else() NFC (authored by tstellar).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70159/new/

https://reviews.llvm.org/D70159

Files:
  llvm/cmake/modules/LLVM-Config.cmake


Index: llvm/cmake/modules/LLVM-Config.cmake
===================================================================
--- llvm/cmake/modules/LLVM-Config.cmake
+++ llvm/cmake/modules/LLVM-Config.cmake
@@ -268,7 +268,7 @@
       # already processed
     elseif( c STREQUAL "all" )
       list(APPEND expanded_components ${LLVM_AVAILABLE_LIBS})
-    else( NOT idx LESS 0 )
+    else()
       # Canonize the component name:
       string(TOUPPER "${c}" capitalized)
       list(FIND capitalized_libs LLVM${capitalized} lib_idx)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70159.229207.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191114/4e63ebf6/attachment.bin>


More information about the llvm-commits mailing list