aboutsummaryrefslogtreecommitdiff
path: root/Coordinator.cpp
diff options
context:
space:
mode:
authorNeel Mehta <mneel@google.com>2019-07-19 13:24:57 -0700
committerNeel Mehta <mneel@google.com>2019-07-23 10:37:37 -0700
commit9200af02eb1d50922385ab79686824001a4f166f (patch)
treeead6125974d87b85d52ff2ddcca2674368f0c608 /Coordinator.cpp
parent60cbebe2f3c3965f4e1698d66b6a97639a00bda7 (diff)
downloadhidl-9200af02eb1d50922385ab79686824001a4f166f.tar.gz
Remove localName from NamedType
The Formatter CL introduced definedName to type which is the very thing that NamedType::localName already did. Thus localName should be removed. Bug: 137553653 Test: ./test/run_all_*_test.sh Change-Id: I61bff460d77d7b880831115be0602a49669fd7be Merged-In: I61bff460d77d7b880831115be0602a49669fd7be
Diffstat (limited to 'Coordinator.cpp')
-rw-r--r--Coordinator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Coordinator.cpp b/Coordinator.cpp
index b75fd441..6e84c8fd 100644
--- a/Coordinator.cpp
+++ b/Coordinator.cpp
@@ -289,10 +289,10 @@ status_t Coordinator::parseOptional(const FQName& fqName, AST** ast, std::set<AS
fprintf(stderr,
"ERROR: File at '%s' declares an interface '%s' "
"instead of the expected types common to the package.\n",
- path.c_str(), (*ast)->getInterface()->localName().c_str());
+ path.c_str(), (*ast)->getInterface()->definedName().c_str());
err = UNKNOWN_ERROR;
- } else if ((*ast)->getInterface()->localName() != fqName.name()) {
+ } else if ((*ast)->getInterface()->definedName() != fqName.name()) {
fprintf(stderr,
"ERROR: File at '%s' does not declare interface type "
"'%s'.\n",