add const

Change-Id: I71236b9ca6300372ba00c85401cf19f6c0e7ac99
This commit is contained in:
Luboš Luňák
2013-05-02 18:17:32 +02:00
parent da4aca0972
commit e6c20364e7
20 changed files with 28 additions and 28 deletions

View File

@@ -35,7 +35,7 @@ void Tutorial1::run()
// This function is called for every return statement.
// Returning true means to continue with examining the AST, false means to stop (just always return true).
bool Tutorial1::VisitReturnStmt( ReturnStmt* returnstmt )
bool Tutorial1::VisitReturnStmt( const ReturnStmt* returnstmt )
{
// Helper function from the LO base plugin class, call at the very beginning to ignore sources
// that should not be processed (e.g. system headers).