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/unusedfieldsremove.cxx | |
parent | 07b8711526972e120824d0fb913b01b1baf6a4cb (diff) |
Clean away temporarily added using declarations
Change-Id: I26734c13515394162d88351a1cbe2b20abdac865
Diffstat (limited to 'compilerplugins/clang/unusedfieldsremove.cxx')
-rw-r--r-- | compilerplugins/clang/unusedfieldsremove.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/unusedfieldsremove.cxx b/compilerplugins/clang/unusedfieldsremove.cxx index eebc2bcfb51e..31997fe1817a 100644 --- a/compilerplugins/clang/unusedfieldsremove.cxx +++ b/compilerplugins/clang/unusedfieldsremove.cxx @@ -31,7 +31,7 @@ class UnusedFieldsRemove: public RecursiveASTVisitor<UnusedFieldsRemove>, public loplugin::RewritePlugin { public: - explicit UnusedFieldsRemove(InstantiationData const & data); + explicit UnusedFieldsRemove(loplugin::InstantiationData const & data); ~UnusedFieldsRemove(); virtual void run() override { TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); } @@ -52,7 +52,7 @@ size_t getFilesize(const char* filename) return st.st_size; } -UnusedFieldsRemove::UnusedFieldsRemove(InstantiationData const & data): RewritePlugin(data) +UnusedFieldsRemove::UnusedFieldsRemove(loplugin::InstantiationData const & data): RewritePlugin(data) { static const char sInputFile[] = SRCDIR "/result.txt"; mmapFilesize = getFilesize(sInputFile); |