commit | 30bb6a869be0f3f82497b7b11c71ec9d47652ed0 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Nov 30 09:18:34 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Mon Dec 05 12:42:06 2016 -0800 |
tree | f3db1fc27323d1328a7a0b481d90ec2ff97a26a2 | |
parent | 352b702511f07979bec7306c3809100b587416eb [diff] [blame] |
Add a typeName() method to each type for error printing purposes. Test: compiles with mma Change-Id: I1283c395440282fde1106ad47aa185bdeda75880
diff --git a/Interface.h b/Interface.h index 02b04dc..a786ce3 100644 --- a/Interface.h +++ b/Interface.h
@@ -35,6 +35,7 @@ bool isBinder() const override; bool isRootType() const { return mSuperType == nullptr; } bool isIBase() const { return fqName() == gIBaseFqName; } + std::string typeName() const override; const Interface *superType() const;