Skip to content
Snippets Groups Projects
Commit 01145fd5 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Added Type::isForwardClassDeclaration().

parent ba78e075
No related branches found
No related tags found
No related merge requests found
......@@ -102,6 +102,9 @@ bool Type::isClassType() const
bool Type::isEnumType() const
{ return asEnumType() != 0; }
bool Type::isForwardClassDeclarationType() const
{ return asForwardClassDeclarationType() != 0; }
void Type::accept(TypeVisitor *visitor)
{
if (visitor->preVisit(this))
......
......@@ -80,6 +80,7 @@ public:
bool isNamespaceType() const;
bool isClassType() const;
bool isEnumType() const;
bool isForwardClassDeclarationType() const;
virtual const VoidType *asVoidType() const { return 0; }
virtual const IntegerType *asIntegerType() const { return 0; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment