diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-07 11:50:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-07 11:50:47 +0100 |
commit | b35bb38f18fd94aa67af944f76b820d59380b78b (patch) | |
tree | cc2c4aadda7f57abc174adfd3c2260428338d3d0 /compilerplugins/clang/unusedmethodsremove.cxx | |
parent | 07b8711526972e120824d0fb913b01b1baf6a4cb (diff) |
Clean away temporarily added using declarations
Change-Id: I26734c13515394162d88351a1cbe2b20abdac865
Diffstat (limited to 'compilerplugins/clang/unusedmethodsremove.cxx')
-rw-r--r-- | compilerplugins/clang/unusedmethodsremove.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/unusedmethodsremove.cxx b/compilerplugins/clang/unusedmethodsremove.cxx index 5452b51f42a2..3d3886ace0db 100644 --- a/compilerplugins/clang/unusedmethodsremove.cxx +++ b/compilerplugins/clang/unusedmethodsremove.cxx @@ -32,7 +32,7 @@ class UnusedMethodsRemove: public RecursiveASTVisitor<UnusedMethodsRemove>, public loplugin::RewritePlugin { public: - explicit UnusedMethodsRemove(InstantiationData const & data); + explicit UnusedMethodsRemove(loplugin::InstantiationData const & data); ~UnusedMethodsRemove(); virtual void run() override { TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); } @@ -53,7 +53,7 @@ size_t getFilesize(const char* filename) return st.st_size; } -UnusedMethodsRemove::UnusedMethodsRemove(InstantiationData const & data): RewritePlugin(data) +UnusedMethodsRemove::UnusedMethodsRemove(loplugin::InstantiationData const & data): RewritePlugin(data) { static const char sInputFile[] = SRCDIR "/result.txt"; mmapFilesize = getFilesize(sInputFile); |