summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedvariablecheck.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-10-13 17:38:58 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-13 17:40:45 +0200
commit1e313e759b79bd55d977156483847e22273d8e65 (patch)
treea7fb233fdf05d22714edba9dbf044fad348dedac /compilerplugins/clang/unusedvariablecheck.hxx
parente3418e9a8544054cb7ac87e57cff54afd4ab03a1 (diff)
compiler check to compare SAL_WARN/LOG areas against sal/inc/sal/log-areas.dox
Some of the areas are guesses I've added after seeing them, whoever feels reponsible for whichever part of the code feel free to adjust them. Change-Id: I2192de84d51cc2bc7c28fa84019d38b465985d15
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 21e0eabd03c0..3099eec39522 100644
--- a/compilerplugins/clang/unusedvariablecheck.hxx
+++ b/compilerplugins/clang/unusedvariablecheck.hxx
@@ -23,7 +23,7 @@ class UnusedVariableCheck
public:
explicit UnusedVariableCheck( ASTContext& context );
void run();
- bool VisitNamedDecl( NamedDecl* declaration );
+ bool VisitVarDecl( VarDecl* var );
};
} // namespace