immunant / c2rust

Migrate C code to Rust
https://c2rust.com/
Other
3.79k stars 219 forks source link

LLVM17: Fix preprocessor expression in AstExporter.cpp #1044

Closed thedataking closed 8 months ago

thedataking commented 8 months ago

The ARM Sve builtins (SveCount, SveBool, etc.) are only available in LLVM 17 and later, so CLANG_VERSION_MAJOR expression needs to reflect that.