Skip to content

Commit 3e349a0

Browse files
committed
Address review feedback
1 parent 522ea40 commit 3e349a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ CIRGenFunction::emitAutoVarAlloca(const VarDecl &d,
6262
// variable (C++0x [class.copy]p34).
6363
address = returnValue;
6464

65-
if (const auto *rd = ty->getAsRecordDecl()) {
65+
if (const RecordDecl *rd = ty->getAsRecordDecl()) {
6666
if (const auto *cxxrd = dyn_cast<CXXRecordDecl>(rd);
6767
(cxxrd && !cxxrd->hasTrivialDestructor()) ||
6868
rd->isNonTrivialToPrimitiveDestroy())

0 commit comments

Comments
 (0)