aboutsummaryrefslogtreecommitdiff
path: root/libcc1/connection.cc
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-05-04 15:26:58 -0600
committerTom Tromey <tom@tromey.com>2021-05-05 00:06:16 -0600
commit41f4381648feb1e5eaa27d108b21e2b95ad3739d (patch)
treee4720df20fbf198b3dea2f336365669774838f38 /libcc1/connection.cc
parente1f5252e4d4747e912e33bdbb5aef80055460aa2 (diff)
downloadgcc-41f4381648feb1e5eaa27d108b21e2b95ad3739d.zip
gcc-41f4381648feb1e5eaa27d108b21e2b95ad3739d.tar.gz
gcc-41f4381648feb1e5eaa27d108b21e2b95ad3739d.tar.bz2
libcc1: inline some simple methods
This changes libcc1 to inline a trivial method and to use the default constructor. libcc1 * connection.hh (~connection): Use default. (print): Inline. * connection.cc (cc1_plugin::connection::~connection) (cc1_plugin::connection::print): Remove definitions.
Diffstat (limited to 'libcc1/connection.cc')
-rw-r--r--libcc1/connection.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/libcc1/connection.cc b/libcc1/connection.cc
index 64a6d49..66d5739 100644
--- a/libcc1/connection.cc
+++ b/libcc1/connection.cc
@@ -27,15 +27,6 @@ along with GCC; see the file COPYING3. If not see
#include "connection.hh"
#include "rpc.hh"
-cc1_plugin::connection::~connection ()
-{
-}
-
-void
-cc1_plugin::connection::print (const char *)
-{
-}
-
cc1_plugin::status
cc1_plugin::connection::send (char c)
{