commit | a4b53d0da8c1c6889c361fd30b913adc364163bc | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Oct 31 17:29:10 2016 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Nov 03 09:39:11 2016 -0700 |
tree | 0179a0eb9d796f868ceae09c3036bf09adf5ccfa | |
parent | 447616f2f8b980849b4abc3b4d1a4db1ae00d3f7 [diff] [blame] |
Add location info to named types. Bug: 31827278 Test: hidl_test Change-Id: I1922d5c309c9706cef37ab34d28e1193d1e247cd
diff --git a/Scope.h b/Scope.h index 8d26cac..4fb57ed 100644 --- a/Scope.h +++ b/Scope.h
@@ -30,7 +30,8 @@ struct LocalIdentifier; struct Scope : public NamedType { - Scope(const char *localName); + Scope(const char *localName, + const Location &location); virtual ~Scope(); bool addType(NamedType *type, std::string *errorMsg);