We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9278d6 commit f28085aCopy full SHA for f28085a
clang/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp
@@ -58,7 +58,7 @@ class DerefFuncDeleteExprVisitor
58
std::optional<bool> HasSpecializedDelete(CXXMethodDecl *Decl) {
59
if (auto *Body = Decl->getBody())
60
return VisitBody(Body);
61
- if (auto *Tmpl = Decl->getTemplateInstantiationPattern())
+ if (Decl->getTemplateInstantiationPattern())
62
return std::nullopt; // Indeterminate. There was no concrete instance.
63
return false;
64
}
0 commit comments