summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/store/tutorial/tutorial1.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-05-31 18:34:11 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-05-31 20:00:53 +0200
commita0d320096ceadc64f2b3b1022a3e52f307a4d0f2 (patch)
tree9bca2b3ddf40f1e794e1975eac58e089f8fbf50b /compilerplugins/clang/store/tutorial/tutorial1.hxx
parenta20c18941521f067280ab3cd0bc36b0a84f27515 (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/store/tutorial/tutorial1.hxx')
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial1.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/store/tutorial/tutorial1.hxx b/compilerplugins/clang/store/tutorial/tutorial1.hxx
index 144d0dc64f36..bb5fe2e397f0 100644
--- a/compilerplugins/clang/store/tutorial/tutorial1.hxx
+++ b/compilerplugins/clang/store/tutorial/tutorial1.hxx
@@ -27,7 +27,7 @@ class Tutorial1
// Ctor, nothing special.
Tutorial1( CompilerInstance& compiler );
// The function that will be called to perform the actual action.
- virtual void run();
+ virtual void run() override;
// Function from Clang, it will be called for every return statement in the source.
bool VisitReturnStmt( const ReturnStmt* returnstmt );
};