Add location info to named types.

Bug: 31827278

Test: hidl_test
Change-Id: I1922d5c309c9706cef37ab34d28e1193d1e247cd
diff --git a/TypeDef.h b/TypeDef.h
index cee93c8..5ccbf01 100644
--- a/TypeDef.h
+++ b/TypeDef.h
@@ -23,7 +23,7 @@
 namespace android {
 
 struct TypeDef : public NamedType {
-    TypeDef(const char* localName, Type *type);
+    TypeDef(const char* localName, const Location &location, Type *type);
 
     const ScalarType *resolveToScalarType() const override;