hidl-gen: add sanitizedName to emitReaderWriterEmbedded.
* Fix weird variable names in autogenerated code for vec<vec<T>>.
Bug: 31955917
Test: hidl_test
Change-Id: I83363a6d12babae1aba8e118451e1ec80492012c
diff --git a/PredefinedType.h b/PredefinedType.h
index 8fdd67f..f11e437 100644
--- a/PredefinedType.h
+++ b/PredefinedType.h
@@ -44,6 +44,7 @@
Formatter &out,
size_t depth,
const std::string &name,
+ const std::string &sanitizedName,
bool nameIsPointer,
const std::string &parcelObj,
bool parcelObjIsPointer,