add const
Change-Id: I71236b9ca6300372ba00c85401cf19f6c0e7ac99
This commit is contained in:
@@ -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).
|
||||
|
Reference in New Issue
Block a user