fixed some false positives; fixed method declaration-position detection also for operators

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-10-27 21:16:01 +00:00
parent ae3b14872b
commit 83fdf79672
3 changed files with 40 additions and 16 deletions

View File

@@ -213,11 +213,14 @@ public: // getters
{ return m_retType==wxEmptyType && !m_strName.StartsWith("~"); }
bool IsDtor() const
{ return m_retType==wxEmptyType && m_strName.StartsWith("~"); }
bool IsOperator() const
{ return m_strName.StartsWith("operator"); }
bool IsDeprecated() const
{ return m_bDeprecated; }
public: // setters
void SetReturnType(const wxType& t)
@@ -263,6 +266,7 @@ public: // misc
// argument, thus is able to act also as default ctor
bool ActsAsDefaultCtor() const;
// dumps the contents of this class in the given stream
void Dump(wxTextOutputStream& stream) const;
protected: