Default values for fixed-size arrays
AidlConstantValue::ValueString() works with nested array values for
fixed-size arrays.
Bug: 207087196
Test: aidl_unittests
Change-Id: I420c23c791edd7578ebe76b5809be08c6b194e30
diff --git a/aidl_language.h b/aidl_language.h
index 266f473..1eb2737 100644
--- a/aidl_language.h
+++ b/aidl_language.h
@@ -401,7 +401,8 @@
vector<unique_ptr<AidlTypeSpecifier>>* type_params, const Comments& comments);
virtual ~AidlTypeSpecifier() = default;
- // View of this type which is not an array.
+ // View of this type which has one-less dimension(s).
+ // e.g.) T[] => T, T[N][M] => T[M]
void ViewAsArrayBase(std::function<void(const AidlTypeSpecifier&)> func) const;
// Returns the full-qualified name of the base type.