diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-05-31 18:34:11 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-05-31 20:00:53 +0200 |
commit | a0d320096ceadc64f2b3b1022a3e52f307a4d0f2 (patch) | |
tree | 9bca2b3ddf40f1e794e1975eac58e089f8fbf50b /compilerplugins/clang/unusedvariablecheck.hxx | |
parent | a20c18941521f067280ab3cd0bc36b0a84f27515 (diff) |
mark all virtuals in the clang plugin as override
In order to help catch Clang API changes.
Change-Id: I5738f5dff405f7a2dd377c983fb32c1c7a2ff921
Diffstat (limited to 'compilerplugins/clang/unusedvariablecheck.hxx')
-rw-r--r-- | compilerplugins/clang/unusedvariablecheck.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unusedvariablecheck.hxx b/compilerplugins/clang/unusedvariablecheck.hxx index ef14942ef679..695971ebd005 100644 --- a/compilerplugins/clang/unusedvariablecheck.hxx +++ b/compilerplugins/clang/unusedvariablecheck.hxx @@ -22,7 +22,7 @@ class UnusedVariableCheck { public: explicit UnusedVariableCheck( CompilerInstance& compiler ); - virtual void run(); + virtual void run() override; bool VisitVarDecl( const VarDecl* var ); }; |