diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-26 16:51:36 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-26 16:51:36 -0300 |
commit | d31812c2b3ecb93d1326c00a11fbb4e4bca6f6ed (patch) | |
tree | 8e37f3a7aa1b68aa152b00d981d1e1bebd94d7c0 /overloaddata.h | |
parent | 736854dc7e64cb2bdcb8d765aace6ee51d8c1150 (diff) |
Added convenience method OverloadData::isSingleArgument(overloads).
Diffstat (limited to 'overloaddata.h')
-rw-r--r-- | overloaddata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/overloaddata.h b/overloaddata.h index a0970a2c8..decbcfafa 100644 --- a/overloaddata.h +++ b/overloaddata.h @@ -75,6 +75,8 @@ public: static int numberOfRemovedArguments(const AbstractMetaFunction* func, int finalArgPos = -1); static QPair<int, int> getMinMaxArguments(const AbstractMetaFunctionList overloads); + /// Returns true if all overloads have no more than one argument. + static bool isSingleArgument(const AbstractMetaFunctionList overloads); void dumpGraph(QString filename) const; QString dumpGraph() const; |