Skip to content

Commit

Permalink
fixup! ast-exporter: Convert RISCV vector types like SVE vector types
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Sep 28, 2022
1 parent d6e800d commit a3f272a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c2rust-ast-exporter/src/AstExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ class TypeEncoder final : public TypeVisitor<TypeEncoder> {
if (kind >= BuiltinType::SveInt8 && kind <= BuiltinType::SveBool
#if CLANG_VERSION_MAJOR >= 13
/* RISC-V vector types */
|| kind >= clang::BuiltinType::RvvInt8mf8 && kind <= clang::BuiltinType::RvvBool64
|| kind >= BuiltinType::RvvInt8mf8 && kind <= BuiltinType::RvvBool64
#endif // CLANG_VERSION_MAJOR >= 13
) {
// Declare ElemType and ElemCount as needed by various Clang versions
Expand Down

0 comments on commit a3f272a

Please sign in to comment.