diff options
Diffstat (limited to 'libcc1')
-rw-r--r-- | libcc1/libcc1.cc | 6 | ||||
-rw-r--r-- | libcc1/libcp1.cc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libcc1/libcc1.cc b/libcc1/libcc1.cc index 68d366a7287..2c08dabb1a4 100644 --- a/libcc1/libcc1.cc +++ b/libcc1/libcc1.cc @@ -93,7 +93,7 @@ struct libcc1 : public gcc_c_context private: std::string triplet_regexp_; public: - virtual char *find (std::string &compiler) const; + char *find (std::string &compiler) const override; compiler_triplet_regexp (libcc1 *self, std::string triplet_regexp) : compiler (self), triplet_regexp_ (triplet_regexp) { @@ -109,7 +109,7 @@ struct libcc1 : public gcc_c_context private: std::string driver_filename_; public: - virtual char *find (std::string &compiler) const; + char *find (std::string &compiler) const override; compiler_driver_filename (libcc1 *self, std::string driver_filename) : compiler (self), driver_filename_ (driver_filename) { @@ -132,7 +132,7 @@ public: { } - virtual void print (const char *buf) + void print (const char *buf) override { back_ptr->print (buf); } diff --git a/libcc1/libcp1.cc b/libcc1/libcp1.cc index 34d89579c31..fb91125ef0c 100644 --- a/libcc1/libcp1.cc +++ b/libcc1/libcp1.cc @@ -94,7 +94,7 @@ struct libcp1 : public gcc_cp_context private: std::string triplet_regexp_; public: - virtual char *find (std::string &compiler) const; + char *find (std::string &compiler) const override; compiler_triplet_regexp (libcp1 *self, std::string triplet_regexp) : compiler (self), triplet_regexp_ (triplet_regexp) { @@ -110,7 +110,7 @@ struct libcp1 : public gcc_cp_context private: std::string driver_filename_; public: - virtual char *find (std::string &compiler) const; + char *find (std::string &compiler) const override; compiler_driver_filename (libcp1 *self, std::string driver_filename) : compiler (self), driver_filename_ (driver_filename) { @@ -133,7 +133,7 @@ public: { } - virtual void print (const char *buf) + void print (const char *buf) override { back_ptr->print (buf); } |