summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/store/tutorial/tutorial1.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-05-02 18:17:32 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-05-02 18:19:59 +0200
commite6c20364e715fc7b7922d4470d5c32c781f71e48 (patch)
treef49dc730bd85978c01fd7cb5213c226b9d475864 /compilerplugins/clang/store/tutorial/tutorial1.hxx
parentda4aca09720b992a48ea4b98d879555dbdcb8666 (diff)
add const
Change-Id: I71236b9ca6300372ba00c85401cf19f6c0e7ac99
Diffstat (limited to 'compilerplugins/clang/store/tutorial/tutorial1.hxx')
-rw-r--r--compilerplugins/clang/store/tutorial/tutorial1.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/store/tutorial/tutorial1.hxx b/compilerplugins/clang/store/tutorial/tutorial1.hxx
index cb56a3bf16c7..144d0dc64f36 100644
--- a/compilerplugins/clang/store/tutorial/tutorial1.hxx
+++ b/compilerplugins/clang/store/tutorial/tutorial1.hxx
@@ -29,7 +29,7 @@ class Tutorial1
// The function that will be called to perform the actual action.
virtual void run();
// Function from Clang, it will be called for every return statement in the source.
- bool VisitReturnStmt( ReturnStmt* returnstmt );
+ bool VisitReturnStmt( const ReturnStmt* returnstmt );
};
} // namespace