diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /codemaker | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/codemaker/options.cxx | 4 | ||||
-rw-r--r-- | codemaker/source/javamaker/javatype.cxx | 5 |
2 files changed, 1 insertions, 8 deletions
diff --git a/codemaker/source/codemaker/options.cxx b/codemaker/source/codemaker/options.cxx index f632d38dcec4..f4f318576b5a 100644 --- a/codemaker/source/codemaker/options.cxx +++ b/codemaker/source/codemaker/options.cxx @@ -31,10 +31,6 @@ Options::~Options() } -const OString& Options::getProgramName() const -{ - return m_program; -} bool Options::isValid(const OString& option) const { diff --git a/codemaker/source/javamaker/javatype.cxx b/codemaker/source/javamaker/javatype.cxx index f40b80f11061..40a17845db55 100644 --- a/codemaker/source/javamaker/javatype.cxx +++ b/codemaker/source/javamaker/javatype.cxx @@ -330,7 +330,7 @@ public: OString getDescriptor() const; - OString getSignature() const; + OString getSignature() const { return m_needsSignature ? m_signatureStart + m_signatureEnd : OString();} private: rtl::Reference< TypeManager > m_manager; @@ -387,9 +387,6 @@ OString MethodDescriptor::getDescriptor() const { return buf.makeStringAndClear(); } -OString MethodDescriptor::getSignature() const { - return m_needsSignature ? m_signatureStart + m_signatureEnd : OString(); -} class TypeInfo { public: |