Add location info to named types.
Bug: 31827278
Test: hidl_test
Change-Id: I1922d5c309c9706cef37ab34d28e1193d1e247cd
diff --git a/Interface.cpp b/Interface.cpp
index f03f3aa..436f836 100644
--- a/Interface.cpp
+++ b/Interface.cpp
@@ -48,8 +48,8 @@
LAST_HIDL_TRANSACTION = 0x00ffffff,
};
-Interface::Interface(const char *localName, Interface *super)
- : Scope(localName),
+Interface::Interface(const char *localName, const Location &location, Interface *super)
+ : Scope(localName, location),
mSuperType(super),
mIsJavaCompatibleInProgress(false) {
mReservedMethods.push_back(createDescriptorChainMethod());