commit | 0e00de41d11a83ce3becb0dbd20b799acceb19a7 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Aug 03 09:56:02 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Sat Aug 06 09:02:59 2016 -0700 |
tree | 4f621d4d2f331e2ffe01dbd58f23d4c940006c5d | |
parent | 31629bcd51ab30bc0aadc69f3fc8ce4893eca900 [diff] [blame] |
Simplify overly long fully specified type names by stripping out the current namespace prefix if possible. Properly include "types.h" for regular (non-interface) types. Emit full names where appropriate.
diff --git a/Scope.cpp b/Scope.cpp index ee2b51c..5e8e687 100644 --- a/Scope.cpp +++ b/Scope.cpp
@@ -58,7 +58,7 @@ Interface *iface = getInterface(); if (iface != NULL) { - *ifaceName = iface->name(); + *ifaceName = iface->localName(); return true; }