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