From: <bl...@us...> - 2003-03-12 07:46:42
|
Update of /cvsroot/cpptool/rfta/include/rfta/refactoring In directory sc8-pr-cvs1:/tmp/cvs-serv4963/include/rfta/refactoring Modified Files: CodeModelElement.h CodeModelExpressions.h CodeModelStatements.h Log Message: * fixed compiler internal error on VC6 Index: CodeModelElement.h =================================================================== RCS file: /cvsroot/cpptool/rfta/include/rfta/refactoring/CodeModelElement.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** CodeModelElement.h 6 Mar 2003 22:18:42 -0000 1.4 --- CodeModelElement.h 12 Mar 2003 07:46:09 -0000 1.5 *************** *** 59,80 **** ElementText text_; - - #if 0 - void setOriginalText( const SourceRange &sourceRange ); - - void unsetSourceRange(); - - const SourceRange &getSourceRange() const; - - bool hasSourceRange() const; - - bool wasReplaced() const; - - void replace(); - - private: - SourceRange sourceRange_; - bool wasReplaced_; - #endif }; --- 59,62 ---- Index: CodeModelExpressions.h =================================================================== RCS file: /cvsroot/cpptool/rfta/include/rfta/refactoring/CodeModelExpressions.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CodeModelExpressions.h 6 Mar 2003 22:18:42 -0000 1.5 --- CodeModelExpressions.h 12 Mar 2003 07:46:09 -0000 1.6 *************** *** 30,34 **** public: GenericExpression( const ElementText &value ); ! // GenericExpression( const std::string &value ); // const std::string getValue() const; --- 30,34 ---- public: GenericExpression( const ElementText &value ); ! GenericExpression( const std::string &value ); // const std::string getValue() const; Index: CodeModelStatements.h =================================================================== RCS file: /cvsroot/cpptool/rfta/include/rfta/refactoring/CodeModelStatements.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CodeModelStatements.h 6 Mar 2003 22:18:42 -0000 1.3 --- CodeModelStatements.h 12 Mar 2003 07:46:09 -0000 1.4 *************** *** 89,95 **** void accept( StatementVisitor &visitor ); ! private: void originalTextSet(); ! int getActualIndex( int index ) const; --- 89,96 ---- void accept( StatementVisitor &visitor ); ! private: // overridden from CodeElement void originalTextSet(); ! ! private: int getActualIndex( int index ) const; *************** *** 303,311 **** --- 304,318 ---- void setValue( const ExpressionPtr &value ); + Change getValueChange() const; + // overriden from Statement void accept( StatementVisitor &visitor ); + private: // overridden from CodeElement + void originalTextSet(); + private: ExpressionPtr value_; + Change change_; }; |