aboutsummaryrefslogtreecommitdiff
path: root/HandleType.h
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2016-10-05 13:33:41 -0700
committerYifan Hong <elsk@google.com>2016-10-05 14:10:25 -0700
commitbe2a3737675b83dd61b52c11f0d7549fa1276739 (patch)
tree68ee407f843d376d3d670242f08198140819c972 /HandleType.h
parent019d21db821ee4ae6dd3858174a0a5cee4d33c25 (diff)
downloadhidl-be2a3737675b83dd61b52c11f0d7549fa1276739.tar.gz
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
Diffstat (limited to 'HandleType.h')
-rw-r--r--HandleType.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/HandleType.h b/HandleType.h
index 2283229b..9bf79b9e 100644
--- a/HandleType.h
+++ b/HandleType.h
@@ -44,6 +44,7 @@ struct HandleType : public Type {
Formatter &out,
size_t depth,
const std::string &name,
+ const std::string &sanitizedName,
bool nameIsPointer,
const std::string &parcelObj,
bool parcelObjIsPointer,