diff options
Diffstat (limited to 'compilerplugins/clang/store/tutorial/tutorial2.hxx')
-rw-r--r-- | compilerplugins/clang/store/tutorial/tutorial2.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/store/tutorial/tutorial2.hxx b/compilerplugins/clang/store/tutorial/tutorial2.hxx index e0d31f3c245d..71cec477a81e 100644 --- a/compilerplugins/clang/store/tutorial/tutorial2.hxx +++ b/compilerplugins/clang/store/tutorial/tutorial2.hxx @@ -25,7 +25,7 @@ class Tutorial2 Tutorial2( CompilerInstance& compiler ); virtual void run(); // Will be called for every if statement. - bool VisitIfStmt( IfStmt* ifstmt ); + bool VisitIfStmt( const IfStmt* ifstmt ); private: // Helper function to check if the statement is 'return false;'. bool isReturnFalse( const Stmt* stmt ); |