summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2019-11-13 16:01:33 -0800
committerTom Stellard <tstellar@redhat.com>2019-11-13 16:37:04 -0800
commit80ed7f8397cebd2acc09a062069ae9185eed68d4 (patch)
tree1e4a1767a17a2e63690b66349d5d2853c53002fa
parent5565d365f2af0f6d17f12ed1a980e6d9415a6607 (diff)
downloadbcm5719-llvm-80ed7f8397cebd2acc09a062069ae9185eed68d4.tar.gz
bcm5719-llvm-80ed7f8397cebd2acc09a062069ae9185eed68d4.zip
[cmake] Remove confusing condition argument from else() NFC
Summary: This makes it look like an elseif and also the variable referenced in the condition was removed from this function in r366622. Reviewers: dsanders, beanz, smeenai, compnerd, phosek Reviewed By: beanz Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70159
-rw-r--r--llvm/cmake/modules/LLVM-Config.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/LLVM-Config.cmake b/llvm/cmake/modules/LLVM-Config.cmake
index 823c79d667c..49dbac6b466 100644
--- a/llvm/cmake/modules/LLVM-Config.cmake
+++ b/llvm/cmake/modules/LLVM-Config.cmake
@@ -268,7 +268,7 @@ function(llvm_map_components_to_libnames out_libs)
# 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)
OpenPOWER on IntegriCloud