summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /idlc
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/idlc/options.hxx2
-rw-r--r--idlc/source/options.cxx4
2 files changed, 1 insertions, 5 deletions
diff --git a/idlc/inc/idlc/options.hxx b/idlc/inc/idlc/options.hxx
index 5a1b40b2639c..887f0536d6b9 100644
--- a/idlc/inc/idlc/options.hxx
+++ b/idlc/inc/idlc/options.hxx
@@ -60,7 +60,7 @@ public:
OString prepareHelp();
OString prepareVersion();
- const OString& getProgramName() const;
+ const OString& getProgramName() const { return m_program;}
bool isValid(const OString& option);
const OString& getOption(const OString& option)
throw( IllegalArgument );
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx
index 9a15ea795ca9..dfdb9bd291a9 100644
--- a/idlc/source/options.cxx
+++ b/idlc/source/options.cxx
@@ -418,10 +418,6 @@ OString Options::prepareVersion()
return version;
}
-const OString& Options::getProgramName() const
-{
- return m_program;
-}
bool Options::isValid(const OString& option)
{