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.cpp b/ScalarType.cpp index a60215a..fccebd6 100644 --- a/ScalarType.cpp +++ b/ScalarType.cpp
@@ -37,6 +37,10 @@ // do nothing } +bool ScalarType::isScalar() const { + return true; +} + std::string ScalarType::typeName() const { return getCppStackType(); }