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

@@ -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 );