From 24a81fbd44393b109828940f2cebc4644f1f7ba8 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Thu, 14 Jan 2010 17:19:43 -0300 Subject: Adds OverloadData::hasAllowThread() method. The method checks if any of the functions in OverloadData have allow-thread flag set to true. --- overloaddata.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'overloaddata.h') diff --git a/overloaddata.h b/overloaddata.h index e77a10c0d..86c93cfef 100644 --- a/overloaddata.h +++ b/overloaddata.h @@ -54,6 +54,9 @@ public: /// Returns true if any of the overloads for the current OverloadData has a varargs argument. bool hasVarargs() const; + /// Returns true if any of the overloads for the current OverloadData allows threads when called. + bool hasAllowThread() const; + const AbstractMetaFunction* referenceFunction() const; const AbstractMetaArgument* argument(const AbstractMetaFunction* func) const; OverloadDataList overloadDataOnPosition(int argPos) const; -- cgit v1.2.3