Thread: [Compbench-devel] CompBenchmarks++/Compiler/Compiler-GCC Compiler-GCC.cpp, 1.1, 1.2 Compiler-GCC.h,
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2006-11-01 11:31:10
|
Update of /cvsroot/compbench/CompBenchmarks++/Compiler/Compiler-GCC In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv8074 Modified Files: Compiler-GCC.cpp Compiler-GCC.h Log Message: Class name changed. Index: Compiler-GCC.h =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/Compiler/Compiler-GCC/Compiler-GCC.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Compiler-GCC.h 1 Nov 2006 11:18:54 -0000 1.1 --- Compiler-GCC.h 1 Nov 2006 11:31:05 -0000 1.2 *************** *** 13,17 **** /** \brief Defines the gcc compiler */ ! class CBMBenchmarkContextCompilerGCC : public CBMBenchmarkContextCompiler { private: --- 13,17 ---- /** \brief Defines the gcc compiler */ ! class CBMCompilerGCC : public CBMCompiler { private: *************** *** 23,31 **** public: ! CBMBenchmarkContextCompilerGCC (class CBMSystem *_system, char *_compilerBinary); virtual std::string compiler(void); ! virtual ~CBMBenchmarkContextCompilerGCC(); }; --- 23,31 ---- public: ! CBMCompilerGCC (class CBMSystem *_system, char *_compilerBinary); virtual std::string compiler(void); ! virtual ~CBMCompilerGCC(); }; *************** *** 33,37 **** /** \brief Defines the g++ compiler */ ! class CBMBenchmarkContextCompilerGCC_cpp : public CBMBenchmarkContextCompiler { private: --- 33,37 ---- /** \brief Defines the g++ compiler */ ! class CBMCompilerGCC_cpp : public CBMCompiler { private: *************** *** 43,51 **** public: ! CBMBenchmarkContextCompilerGCC_cpp (class CBMSystem *_system, char *_compilerBinary); virtual std::string compiler(void); ! virtual ~CBMBenchmarkContextCompilerGCC_cpp(); }; #endif --- 43,51 ---- public: ! CBMCompilerGCC_cpp (class CBMSystem *_system, char *_compilerBinary); virtual std::string compiler(void); ! virtual ~CBMCompilerGCC_cpp(); }; #endif Index: Compiler-GCC.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/Compiler/Compiler-GCC/Compiler-GCC.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Compiler-GCC.cpp 1 Nov 2006 11:18:54 -0000 1.1 --- Compiler-GCC.cpp 1 Nov 2006 11:31:05 -0000 1.2 *************** *** 12,22 **** #include <config.h> ! CBMBenchmarkContextCompilerGCC::CBMBenchmarkContextCompilerGCC(CBMSystem *_system, char *_compilerBinary) ! : CBMBenchmarkContextCompiler(_system, _compilerBinary) { } ! std::string CBMBenchmarkContextCompilerGCC::compiler(void) { std::string str = "gcc"; --- 12,22 ---- #include <config.h> ! CBMCompilerGCC::CBMCompilerGCC(CBMSystem *_system, char *_compilerBinary) ! : CBMCompiler(_system, _compilerBinary) { } ! std::string CBMCompilerGCC::compiler(void) { std::string str = "gcc"; *************** *** 25,29 **** } ! std::string CBMBenchmarkContextCompilerGCC::getCompilerName(void) { std::string cmd = compilerBinary; --- 25,29 ---- } ! std::string CBMCompilerGCC::getCompilerName(void) { std::string cmd = compilerBinary; *************** *** 44,48 **** } ! std::string CBMBenchmarkContextCompilerGCC::getCompilerVersion(void) { std::string cmd = "I=`"; --- 44,48 ---- } ! std::string CBMCompilerGCC::getCompilerVersion(void) { std::string cmd = "I=`"; *************** *** 65,84 **** } ! char *CBMBenchmarkContextCompilerGCC::language(void) { return("C"); } ! CBMBenchmarkContextCompilerGCC::~CBMBenchmarkContextCompilerGCC() { } ! CBMBenchmarkContextCompilerGCC_cpp::CBMBenchmarkContextCompilerGCC_cpp(CBMSystem *_system, char *_compilerBinary) ! : CBMBenchmarkContextCompiler(_system, _compilerBinary) { } ! std::string CBMBenchmarkContextCompilerGCC_cpp::compiler(void) { std::string str = "g++"; --- 65,84 ---- } ! char *CBMCompilerGCC::language(void) { return("C"); } ! CBMCompilerGCC::~CBMCompilerGCC() { } ! CBMCompilerGCC_cpp::CBMCompilerGCC_cpp(CBMSystem *_system, char *_compilerBinary) ! : CBMCompiler(_system, _compilerBinary) { } ! std::string CBMCompilerGCC_cpp::compiler(void) { std::string str = "g++"; *************** *** 87,91 **** } ! std::string CBMBenchmarkContextCompilerGCC_cpp::getCompilerName(void) { std::string cmd = compilerBinary; --- 87,91 ---- } ! std::string CBMCompilerGCC_cpp::getCompilerName(void) { std::string cmd = compilerBinary; *************** *** 106,110 **** } ! std::string CBMBenchmarkContextCompilerGCC_cpp::getCompilerVersion(void) { std::string cmd = "I=`"; --- 106,110 ---- } ! std::string CBMCompilerGCC_cpp::getCompilerVersion(void) { std::string cmd = "I=`"; *************** *** 127,136 **** } ! char *CBMBenchmarkContextCompilerGCC_cpp::language(void) { return("C++"); } ! CBMBenchmarkContextCompilerGCC_cpp::~CBMBenchmarkContextCompilerGCC_cpp() { } --- 127,136 ---- } ! char *CBMCompilerGCC_cpp::language(void) { return("C++"); } ! CBMCompilerGCC_cpp::~CBMCompilerGCC_cpp() { } |