Skip to content

Commit c9518bb

Browse files
authored
Remove the LibLLVM::IS_* constants (crystal-lang#15464)
1 parent 8e02a42 commit c9518bb

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

src/llvm/lib_llvm.cr

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,24 +42,11 @@
4242

4343
# Supported library versions:
4444
#
45-
# * LLVM (8-19; aarch64 requires 13+)
45+
# * LLVM (8-20; aarch64 requires 13+)
4646
#
4747
# See https://crystal-lang.org/reference/man/required_libraries.html#other-stdlib-libraries
4848
{% begin %}
4949
lib LibLLVM
50-
IS_180 = {{LibLLVM::VERSION.starts_with?("18.0")}}
51-
IS_170 = {{LibLLVM::VERSION.starts_with?("17.0")}}
52-
IS_160 = {{LibLLVM::VERSION.starts_with?("16.0")}}
53-
IS_150 = {{LibLLVM::VERSION.starts_with?("15.0")}}
54-
IS_140 = {{LibLLVM::VERSION.starts_with?("14.0")}}
55-
IS_130 = {{LibLLVM::VERSION.starts_with?("13.0")}}
56-
IS_120 = {{LibLLVM::VERSION.starts_with?("12.0")}}
57-
IS_111 = {{LibLLVM::VERSION.starts_with?("11.1")}}
58-
IS_110 = {{LibLLVM::VERSION.starts_with?("11.0")}}
59-
IS_100 = {{LibLLVM::VERSION.starts_with?("10.0")}}
60-
IS_90 = {{LibLLVM::VERSION.starts_with?("9.0")}}
61-
IS_80 = {{LibLLVM::VERSION.starts_with?("8.0")}}
62-
6350
IS_LT_90 = {{compare_versions(LibLLVM::VERSION, "9.0.0") < 0}}
6451
IS_LT_100 = {{compare_versions(LibLLVM::VERSION, "10.0.0") < 0}}
6552
IS_LT_110 = {{compare_versions(LibLLVM::VERSION, "11.0.0") < 0}}

0 commit comments

Comments
 (0)