Arrays of width 3 vector types cannot be exported.
Bug: 3171195
Change-Id: I7deab4ab9c7f8650bce7c597fae2a0dc013f6f71
diff --git a/slang_rs_backend.cpp b/slang_rs_backend.cpp
index 9430a1e..c47df64 100644
--- a/slang_rs_backend.cpp
+++ b/slang_rs_backend.cpp
@@ -110,7 +110,7 @@
clang::SourceManager *SM) {
llvm::StringRef TypeName;
const clang::Type *T = VD->getType().getTypePtr();
- if (!RSExportType::NormalizeType(T, TypeName, Diags, SM)) {
+ if (!RSExportType::NormalizeType(T, TypeName, Diags, SM, VD)) {
return false;
}
return true;