aboutsummaryrefslogtreecommitdiff
path: root/VectorType.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2016-09-30 14:40:45 -0700
committerYifan Hong <elsk@google.com>2016-10-03 09:34:24 -0700
commit00f471711684903fd747e7871edf437ca54ed397 (patch)
tree8187002d5120151e9d6dba61701db65b15e2fd93 /VectorType.cpp
parent0cedc19c4f0a6a0362de927eac32445dc10550a8 (diff)
downloadhidl-00f471711684903fd747e7871edf437ca54ed397.tar.gz
hidl-gen: Fix warnings for unused parameters.
Test: `mma` does not have warnings on unused paramters on GraphAll.cpp. Change-Id: Ib4ddd38c34f1de5aef1cdefdfa0539840fb44a8e
Diffstat (limited to 'VectorType.cpp')
-rw-r--r--VectorType.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/VectorType.cpp b/VectorType.cpp
index 8bf3ede2..b7bebe43 100644
--- a/VectorType.cpp
+++ b/VectorType.cpp
@@ -248,6 +248,11 @@ void VectorType::emitResolveReferencesEmbedded(
parcelObjIsPointer, isReader, mode, "", "");
}
+bool VectorType::useParentInEmitResolveReferencesEmbedded() const {
+ // parentName and offsetText is not used in emitResolveReferencesEmbedded
+ return false;
+}
+
void VectorType::emitResolveReferencesEmbeddedHelper(
Formatter &out,
size_t depth,