summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedvariablecheck.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/unusedvariablecheck.hxx
parentda4aca09720b992a48ea4b98d879555dbdcb8666 (diff)
add const
Change-Id: I71236b9ca6300372ba00c85401cf19f6c0e7ac99
Diffstat (limited to 'compilerplugins/clang/unusedvariablecheck.hxx')
-rw-r--r--compilerplugins/clang/unusedvariablecheck.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unusedvariablecheck.hxx b/compilerplugins/clang/unusedvariablecheck.hxx
index 98df658026c5..ef14942ef679 100644
--- a/compilerplugins/clang/unusedvariablecheck.hxx
+++ b/compilerplugins/clang/unusedvariablecheck.hxx
@@ -23,7 +23,7 @@ class UnusedVariableCheck
public:
explicit UnusedVariableCheck( CompilerInstance& compiler );
virtual void run();
- bool VisitVarDecl( VarDecl* var );
+ bool VisitVarDecl( const VarDecl* var );
};
} // namespace