Arrays of arrays are now coalesced into a single multi-dimensional array type.
This is natively stored as a flat array of the element type.
Change-Id: I1b0eee51b496648a9c8445b835635deff1a90aab
Bug: 31438033
Test: run updated "hidl_test" and "hidl_test_java"
diff --git a/Type.cpp b/Type.cpp
index b09f8d3..e42f072 100644
--- a/Type.cpp
+++ b/Type.cpp
@@ -54,6 +54,14 @@
return false;
}
+bool Type::isArray() const {
+ return false;
+}
+
+bool Type::isVector() const {
+ return false;
+}
+
const ScalarType *Type::resolveToScalarType() const {
return NULL;
}
@@ -144,6 +152,7 @@
const std::string &,
const std::string &,
const std::string &,
+ const std::string &,
bool) const {
CHECK(!"Should not be here");
}