summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/store/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/store/tutorial')
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial1.hxx2
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial2.hxx2
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial3.hxx2
3 files changed, 3 insertions, 3 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 );
};
diff --git a/compilerplugins/clang/store/tutorial/tutorial2.hxx b/compilerplugins/clang/store/tutorial/tutorial2.hxx
index 71cec477a81e..4fa62326f945 100644
--- a/compilerplugins/clang/store/tutorial/tutorial2.hxx
+++ b/compilerplugins/clang/store/tutorial/tutorial2.hxx
@@ -23,7 +23,7 @@ class Tutorial2
{
public:
Tutorial2( CompilerInstance& compiler );
- virtual void run();
+ virtual void run() override;
// Will be called for every if statement.
bool VisitIfStmt( const IfStmt* ifstmt );
private:
diff --git a/compilerplugins/clang/store/tutorial/tutorial3.hxx b/compilerplugins/clang/store/tutorial/tutorial3.hxx
index a3dd0bdd7374..b82f149a0fa7 100644
--- a/compilerplugins/clang/store/tutorial/tutorial3.hxx
+++ b/compilerplugins/clang/store/tutorial/tutorial3.hxx
@@ -24,7 +24,7 @@ class Tutorial3
public:
// One more argument for ctor.
Tutorial3( CompilerInstance& compiler, Rewriter& rewriter );
- virtual void run();
+ virtual void run() override;
// Will be called for every if statement.
bool VisitIfStmt( const IfStmt* ifstmt );
private: