commit | 00f471711684903fd747e7871edf437ca54ed397 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Sep 30 14:40:45 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Oct 03 09:34:24 2016 -0700 |
tree | 8187002d5120151e9d6dba61701db65b15e2fd93 | |
parent | 0cedc19c4f0a6a0362de927eac32445dc10550a8 [diff] [blame] |
hidl-gen: Fix warnings for unused parameters. Test: `mma` does not have warnings on unused paramters on GraphAll.cpp. Change-Id: Ib4ddd38c34f1de5aef1cdefdfa0539840fb44a8e
diff --git a/Type.cpp b/Type.cpp index 0b2b715..54f5956 100644 --- a/Type.cpp +++ b/Type.cpp
@@ -146,6 +146,10 @@ CHECK(!"Should not be here"); } +bool Type::useParentInEmitResolveReferencesEmbedded() const { + return true; +} + void Type::emitReaderWriterEmbedded( Formatter &, size_t,