[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdevplatform/language/duchain/builders
From:       Hamish Rodda <rodda () kde ! org>
Date:       2009-11-26 15:35:31
Message-ID: 1259249731.753166.537.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1054720 by rodda:

Allow setting of the last type in the abstract expression visitor

 M  +11 -0     abstractexpressionvisitor.h  


--- trunk/KDE/kdevplatform/language/duchain/builders/abstractexpressionvisitor.h #1054719:1054720
@@ -70,6 +70,17 @@
       return m_lastType;
     }
 
+    void setLastType(KDevelop::AbstractType::Ptr type)
+    {
+      m_lastType = type;
+    }
+
+    template<class Type>
+    void setLastType(TypePtr<Type> type)
+    {
+      m_lastType = AbstractType::Ptr::staticCast(type);
+    }
+
     const Instance lastInstance() const
     {
       return m_lastInstance;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic