summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedenumconstants.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-27 09:51:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-27 10:31:42 +0200
commit5585bc2fbbe8b6072cfdd5cdaaf326f5124632ce (patch)
treea7f6570cd2c0df4f379e1e7a88f9067f04bb5ce0 /compilerplugins/clang/unusedenumconstants.cxx
parent13c26e565bd8b633e4748c63103c3801b017217b (diff)
rename loplugin::Plugin::parentStmt
to getParentStmt and rename parentFunctionDecl to getParentFunctionDecl, so I don't keep using accidentally naming my variables the same as the functions. Change-Id: I66f9452458c8b439e5132191ac5219fb6d420708
Diffstat (limited to 'compilerplugins/clang/unusedenumconstants.cxx')
-rw-r--r--compilerplugins/clang/unusedenumconstants.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.cxx b/compilerplugins/clang/unusedenumconstants.cxx
index a2f052339e84..88461c1075fd 100644
--- a/compilerplugins/clang/unusedenumconstants.cxx
+++ b/compilerplugins/clang/unusedenumconstants.cxx
@@ -144,7 +144,7 @@ bool UnusedEnumConstants::VisitDeclRefExpr( const DeclRefExpr* declRefExpr )
const Stmt * parent = declRefExpr;
try_again:
- parent = parentStmt(parent);
+ parent = getParentStmt(parent);
bool bWrite = false;
bool bRead = false;
bool bDump = false;