[WIP] add check for polymorphic functions

This commit is contained in:
2017-05-02 14:59:04 -04:00
parent 0887760de1
commit b3b02df569
5 changed files with 30 additions and 1 deletions

3
type.h
View File

@@ -133,6 +133,9 @@ public:
/** Returns true if the underlying type is either a pointer or an array */
bool IsVoidType() const;
/** Returns true if the underlying type is polymorphic */
bool IsPolymorphicType() const;
/** Returns true if this type is 'const'-qualified. */
virtual bool IsConstType() const = 0;