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 a6c4a36 commit 0d26969Copy full SHA for 0d26969
clang/lib/StaticAnalyzer/Checkers/WebKit/ForwardDeclChecker.cpp
@@ -129,7 +129,7 @@ class ForwardDeclChecker : public Checker<check::ASTDecl<TranslationUnitDecl>> {
129
return false;
130
// Find a definition amongst template declarations.
131
if (auto *Specialization = dyn_cast<ClassTemplateSpecializationDecl>(R)) {
132
- if (auto* S = Specialization->getSpecializedTemplate()) {
+ if (auto *S = Specialization->getSpecializedTemplate()) {
133
for (S = S->getMostRecentDecl(); S; S = S->getPreviousDecl()) {
134
if (S->isThisDeclarationADefinition())
135
0 commit comments