We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2167929 commit d6e800dCopy full SHA for d6e800d
c2rust-ast-exporter/src/AstExporter.cpp
@@ -323,10 +323,10 @@ class TypeEncoder final : public TypeVisitor<TypeEncoder> {
323
324
#if CLANG_VERSION_MAJOR >= 10
325
// Handle built-in vector types as if they're normal vector types
326
- if (kind >= BuiltinType::SveInt8 && kind <= BuiltinType::SveBool ||
+ if (kind >= BuiltinType::SveInt8 && kind <= BuiltinType::SveBool
327
#if CLANG_VERSION_MAJOR >= 13
328
/* RISC-V vector types */
329
- kind >= clang::BuiltinType::RvvInt8mf8 && kind <= clang::BuiltinType::RvvBool64
+ || kind >= clang::BuiltinType::RvvInt8mf8 && kind <= clang::BuiltinType::RvvBool64
330
#endif // CLANG_VERSION_MAJOR >= 13
331
) {
332
// Declare ElemType and ElemCount as needed by various Clang versions
0 commit comments