diff options
Diffstat (limited to 'typesystem.h')
-rw-r--r-- | typesystem.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/typesystem.h b/typesystem.h index 28a3cb85f..21c770889 100644 --- a/typesystem.h +++ b/typesystem.h @@ -581,6 +581,7 @@ public: enum Type { PrimitiveType, VoidType, + VarargsType, FlagsType, EnumType, TemplateArgumentType, @@ -681,6 +682,10 @@ public: { return m_type == VoidType; } + bool isVarargs() const + { + return m_type == VarargsType; + } bool isThread() const { return m_type == ThreadType; @@ -924,6 +929,12 @@ public: VoidTypeEntry() : TypeEntry("void", VoidType) { } }; +class APIEXTRACTOR_API VarargsTypeEntry : public TypeEntry +{ +public: + VarargsTypeEntry() : TypeEntry("...", VarargsType) { } +}; + class APIEXTRACTOR_API TemplateArgumentEntry : public TypeEntry { public: |