From: <sve...@us...> - 2003-04-21 03:08:59
|
Update of /cvsroot/cpptool/rfta/include/rfta/refactoring In directory sc8-pr-cvs1:/tmp/cvs-serv8439/include/rfta/refactoring Modified Files: CodeModelVisitor.h CodeModel.h ChangeTrackers.h Log Message: improved code rewriting for declaration lists Index: CodeModelVisitor.h =================================================================== RCS file: /cvsroot/cpptool/rfta/include/rfta/refactoring/CodeModelVisitor.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** CodeModelVisitor.h 10 Apr 2003 08:37:49 -0000 1.7 --- CodeModelVisitor.h 21 Apr 2003 03:08:55 -0000 1.8 *************** *** 46,50 **** virtual void visit( const AssignInitializerExpressionPtr &expression ) =0; virtual void visit( const ConstructorInitializerExpressionPtr &expression ) =0; ! virtual void visit( const DeclaratorExpressionPtr &expression ) =0; virtual void visit( const DefaultConditionExpressionPtr &expression ) =0; virtual void visit( const ExpressionPtr &expression ) =0; --- 46,50 ---- virtual void visit( const AssignInitializerExpressionPtr &expression ) =0; virtual void visit( const ConstructorInitializerExpressionPtr &expression ) =0; ! virtual void visit( const DeclaratorExpression &expression ) =0; virtual void visit( const DefaultConditionExpressionPtr &expression ) =0; virtual void visit( const ExpressionPtr &expression ) =0; Index: CodeModel.h =================================================================== RCS file: /cvsroot/cpptool/rfta/include/rfta/refactoring/CodeModel.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CodeModel.h 10 Apr 2003 08:37:46 -0000 1.5 --- CodeModel.h 21 Apr 2003 03:08:55 -0000 1.6 *************** *** 12,15 **** --- 12,19 ---- #include <stdexcept> + #ifndef _MSC_VER + # include <map> + #endif + namespace Refactoring { namespace CodeModel { Index: ChangeTrackers.h =================================================================== RCS file: /cvsroot/cpptool/rfta/include/rfta/refactoring/ChangeTrackers.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ChangeTrackers.h 10 Apr 2003 08:37:46 -0000 1.1 --- ChangeTrackers.h 21 Apr 2003 03:08:55 -0000 1.2 *************** *** 278,282 **** return it - changes_.begin(); } ! throw std::out_of_range( "index out of range for CompositeChangeTracker::getActualIndex()" ); } --- 278,282 ---- return it - changes_.begin(); } ! assert(false); // throw std::out_of_range( "index out of range for CompositeChangeTracker::getActualIndex()" ); } *************** *** 302,304 **** ! #endif // RFTA_CHANGETRACKERS_H_INCLUDED \ No newline at end of file --- 302,304 ---- ! #endif // RFTA_CHANGETRACKERS_H_INCLUDED |