diff options
Diffstat (limited to 'compilerplugins/clang/unusedvariablecheck.hxx')
-rw-r--r-- | compilerplugins/clang/unusedvariablecheck.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedvariablecheck.hxx b/compilerplugins/clang/unusedvariablecheck.hxx index f22162e108a6..5f5edbbbaf96 100644 --- a/compilerplugins/clang/unusedvariablecheck.hxx +++ b/compilerplugins/clang/unusedvariablecheck.hxx @@ -23,6 +23,8 @@ class UnusedVariableCheck explicit UnusedVariableCheck( const InstantiationData& data ); virtual void run() override; bool VisitVarDecl( const VarDecl* var ); + private: + bool isUnusedSmartPointer( const VarDecl* var ); }; } // namespace |