Skip to content

Commit a3f272a

Browse files
committed
fixup! ast-exporter: Convert RISCV vector types like SVE vector types
1 parent d6e800d commit a3f272a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c2rust-ast-exporter/src/AstExporter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ class TypeEncoder final : public TypeVisitor<TypeEncoder> {
326326
if (kind >= BuiltinType::SveInt8 && kind <= BuiltinType::SveBool
327327
#if CLANG_VERSION_MAJOR >= 13
328328
/* RISC-V vector types */
329-
|| kind >= clang::BuiltinType::RvvInt8mf8 && kind <= clang::BuiltinType::RvvBool64
329+
|| kind >= BuiltinType::RvvInt8mf8 && kind <= BuiltinType::RvvBool64
330330
#endif // CLANG_VERSION_MAJOR >= 13
331331
) {
332332
// Declare ElemType and ElemCount as needed by various Clang versions

0 commit comments

Comments
 (0)