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 490902e commit b9b8e29Copy full SHA for b9b8e29
clang/lib/CIR/CodeGen/CIRGenDeclOpenACC.cpp
@@ -131,8 +131,8 @@ static const Decl *getDeclareReferencedDecl(const Expr *e) {
131
while (const auto *ase = dyn_cast<ArraySectionExpr>(curVarExpr))
132
curVarExpr = ase->getBase()->IgnoreParenImpCasts();
133
134
- if (const auto *DRE = dyn_cast<DeclRefExpr>(curVarExpr))
135
- return DRE->getFoundDecl()->getCanonicalDecl();
+ if (const auto *dre = dyn_cast<DeclRefExpr>(curVarExpr))
+ return dredre->getFoundDecl()->getCanonicalDecl();
136
137
// MemberExpr is allowed when it is implicit 'this'.
138
return cast<MemberExpr>(curVarExpr)->getMemberDecl()->getCanonicalDecl();
0 commit comments