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/EnumType.h b/EnumType.h index ccdf384..09ad24d 100644 --- a/EnumType.h +++ b/EnumType.h
@@ -40,6 +40,7 @@ const ScalarType *resolveToScalarType() const override; + std::string typeName() const override; bool isEnum() const override; std::string getCppType(StorageMode mode,