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/bodynotinblock.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/bodynotinblock.hxx')
-rw-r--r-- | compilerplugins/clang/bodynotinblock.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/bodynotinblock.hxx b/compilerplugins/clang/bodynotinblock.hxx index 9c5ed784a427..e6ad1ab893e3 100644 --- a/compilerplugins/clang/bodynotinblock.hxx +++ b/compilerplugins/clang/bodynotinblock.hxx @@ -22,7 +22,7 @@ class BodyNotInBlock { public: explicit BodyNotInBlock( CompilerInstance& compiler ); - virtual void run(); + virtual void run() override; bool VisitFunctionDecl( const FunctionDecl* declaration ); private: typedef vector< const Stmt* > StmtParents; |