diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-12-18 11:33:57 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-12-18 11:55:59 -0300 |
commit | d31ac61663db41013333d16aa61a16ba71ecf5fd (patch) | |
tree | 3dbd1fd2304696e61c8a8a9e83539196be39254a /overloaddata.h | |
parent | 808a89b409672d1a3c2082b848983ba58e0b462a (diff) |
Adds OverloadData::hasVarargs() which says if there is a varargs argument among the overloads.
Diffstat (limited to 'overloaddata.h')
-rw-r--r-- | overloaddata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/overloaddata.h b/overloaddata.h index decbcfafa..e77a10c0d 100644 --- a/overloaddata.h +++ b/overloaddata.h @@ -51,6 +51,9 @@ public: /// Returns true if any of the overloads for the current OverloadData has a return type different from void. bool hasNonVoidReturnType() const; + /// Returns true if any of the overloads for the current OverloadData has a varargs argument. + bool hasVarargs() const; + const AbstractMetaFunction* referenceFunction() const; const AbstractMetaArgument* argument(const AbstractMetaFunction* func) const; OverloadDataList overloadDataOnPosition(int argPos) const; |