diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-27 09:51:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-27 10:31:42 +0200 |
commit | 5585bc2fbbe8b6072cfdd5cdaaf326f5124632ce (patch) | |
tree | a7f6570cd2c0df4f379e1e7a88f9067f04bb5ce0 /compilerplugins/clang/unusedenumconstants.cxx | |
parent | 13c26e565bd8b633e4748c63103c3801b017217b (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.cxx | 2 |
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; |