summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/derefnullptr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-07 11:50:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-07 11:50:47 +0100
commitb35bb38f18fd94aa67af944f76b820d59380b78b (patch)
treecc2c4aadda7f57abc174adfd3c2260428338d3d0 /compilerplugins/clang/derefnullptr.cxx
parentMemoize ignoreLocation results (diff)
downloadcore-b35bb38f18fd94aa67af944f76b820d59380b78b.tar.gz
core-b35bb38f18fd94aa67af944f76b820d59380b78b.zip
Clean away temporarily added using declarations
Change-Id: I26734c13515394162d88351a1cbe2b20abdac865
Diffstat (limited to 'compilerplugins/clang/derefnullptr.cxx')
-rw-r--r--compilerplugins/clang/derefnullptr.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/clang/derefnullptr.cxx b/compilerplugins/clang/derefnullptr.cxx
index 83fa5c4a0b91..350bed2156dc 100644
--- a/compilerplugins/clang/derefnullptr.cxx
+++ b/compilerplugins/clang/derefnullptr.cxx
@@ -15,7 +15,8 @@ class DerefNullPtr:
public RecursiveASTVisitor<DerefNullPtr>, public loplugin::Plugin
{
public:
- explicit DerefNullPtr(InstantiationData const & data): Plugin(data) {}
+ explicit DerefNullPtr(loplugin::InstantiationData const & data):
+ Plugin(data) {}
void run() override
{ TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); }