aboutsummaryrefslogtreecommitdiffstats
path: root/hidl2aidl/AidlInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hidl2aidl/AidlInterface.cpp')
-rw-r--r--hidl2aidl/AidlInterface.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/hidl2aidl/AidlInterface.cpp b/hidl2aidl/AidlInterface.cpp
index c260b4c4f..b1562802d 100644
--- a/hidl2aidl/AidlInterface.cpp
+++ b/hidl2aidl/AidlInterface.cpp
@@ -142,8 +142,10 @@ static bool shouldWarnStatusType(const std::string& typeName) {
return false;
}
-void AidlHelper::emitAidl(const Interface& interface, const Coordinator& coordinator) {
- Formatter out = getFileWithHeader(interface, coordinator);
+void AidlHelper::emitAidl(
+ const Interface& interface, const Coordinator& coordinator,
+ const std::map<const NamedType*, const ProcessedCompoundType>& processedTypes) {
+ Formatter out = getFileWithHeader(interface, coordinator, processedTypes);
interface.emitDocComment(out);
if (interface.superType() && interface.superType()->fqName() != gIBaseFqName) {