[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Tue Apr 25 14:20:04 UTC 2006
SVN commit 533912 by okellogg:
minor cleanups motivated by doxygen
M +2 -2 classparser/ast.cpp
M +2 -2 classparser/ast.h
M +1 -1 classparser/parser.h
M +1 -1 umlnamespace.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/classparser/ast.cpp #533911:533912
@@ -711,7 +711,7 @@
m_arrayDimensionList.append( arrayDimension.release() );
}
-void DeclaratorAST::setParameterDeclarationClause( ParameterDeclarationClauseAST::Node& parameterDeclarationClause )
+void DeclaratorAST::setParameterDeclarationClause( AUTO_PTR<class ParameterDeclarationClauseAST>& parameterDeclarationClause )
{
m_parameterDeclarationClause = parameterDeclarationClause;
if( m_parameterDeclarationClause.get() ) m_parameterDeclarationClause->setParent( this );
@@ -1102,7 +1102,7 @@
if( m_kind.get() ) m_kind->setParent( this );
}
-void TypeParameterAST::setTemplateParameterList( TemplateParameterListAST::Node& templateParameterList )
+void TypeParameterAST::setTemplateParameterList( AUTO_PTR<TemplateParameterListAST>& templateParameterList )
{
m_templateParameterList = templateParameterList;
if( m_templateParameterList.get() ) m_templateParameterList->setParent( this );
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/classparser/ast.h #533911:533912
@@ -816,7 +816,7 @@
void addPtrOp( AST::Node& ptrOp );
DeclaratorAST* subDeclarator() { return m_subDeclarator.get(); }
- void setSubDeclarator( AUTO_PTR<DeclaratorAST>& subDeclarator );
+ void setSubDeclarator( Node& subDeclarator );
NameAST* declaratorId() { return m_declaratorId.get(); }
void setDeclaratorId( NameAST::Node& declaratorId );
@@ -839,7 +839,7 @@
private:
QPtrList<AST> m_ptrOpList;
- AUTO_PTR<DeclaratorAST> m_subDeclarator;
+ Node m_subDeclarator;
NameAST::Node m_declaratorId;
AST::Node m_bitfieldInitialization;
QPtrList<AST> m_arrayDimensionList;
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/classparser/parser.h #533911:533912
@@ -45,7 +45,7 @@
/** @todo remove*/ virtual bool reportError( const QString& msg );
/** @todo remove*/ virtual void syntaxError();
-public /*rules*/ :
+public: /*rules*/
bool parseTranslationUnit( TranslationUnitAST::Node& node );
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlnamespace.cpp #533911:533912
@@ -67,7 +67,7 @@
return toString(_v, mnemonic);
}
-Visibility::operator Visibility::Value() const {
+Visibility::operator Value() const {
return _v;
}
More information about the umbrello-devel
mailing list