commit | abf73eef7f23f0b0ba0fe85694dcd511f4e69962 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Dec 05 18:47:00 2016 -0800 |
committer | Yifan Hong <elsk@google.com> | Mon Dec 05 18:47:00 2016 -0800 |
tree | b3e361051dbe14e8ed638cc39bd2db55a18f3404 | |
parent | c57c8bb9f368faca636bdb6b39773e72255e8b08 [diff] [blame] |
Add is*() functions for more types. Test: compiles Change-Id: Ibeba6c814ac17192481935a067b7c835c4008dc7
diff --git a/ScalarType.h b/ScalarType.h index d1e40b5..0ff8ec5 100644 --- a/ScalarType.h +++ b/ScalarType.h
@@ -39,6 +39,8 @@ ScalarType(Kind kind); + bool isScalar() const override; + const ScalarType *resolveToScalarType() const override; std::string typeName() const override;