summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/getstr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/getstr.cxx b/compilerplugins/clang/getstr.cxx
index 671699e73551..97276591e19e 100644
--- a/compilerplugins/clang/getstr.cxx
+++ b/compilerplugins/clang/getstr.cxx
@@ -81,7 +81,7 @@ public:
return true;
}
bool castToVoid = false;
- if (auto const ic = dyn_cast<ImplicitCastExpr>(arg1))
+ if (isa<ImplicitCastExpr>(arg1))
{
if (loplugin::TypeCheck(arg1->getType()).Pointer().Void())
{