Skip to content

Commit b9b8e29

Browse files
committed
Fix Andy's nit
1 parent 490902e commit b9b8e29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CIR/CodeGen/CIRGenDeclOpenACC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ static const Decl *getDeclareReferencedDecl(const Expr *e) {
131131
while (const auto *ase = dyn_cast<ArraySectionExpr>(curVarExpr))
132132
curVarExpr = ase->getBase()->IgnoreParenImpCasts();
133133

134-
if (const auto *DRE = dyn_cast<DeclRefExpr>(curVarExpr))
135-
return DRE->getFoundDecl()->getCanonicalDecl();
134+
if (const auto *dre = dyn_cast<DeclRefExpr>(curVarExpr))
135+
return dredre->getFoundDecl()->getCanonicalDecl();
136136

137137
// MemberExpr is allowed when it is implicit 'this'.
138138
return cast<MemberExpr>(curVarExpr)->getMemberDecl()->getCanonicalDecl();

0 commit comments

Comments
 (0)