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 522ea40 commit 3e349a0Copy full SHA for 3e349a0
clang/lib/CIR/CodeGen/CIRGenDecl.cpp
@@ -62,7 +62,7 @@ CIRGenFunction::emitAutoVarAlloca(const VarDecl &d,
62
// variable (C++0x [class.copy]p34).
63
address = returnValue;
64
65
- if (const auto *rd = ty->getAsRecordDecl()) {
+ if (const RecordDecl *rd = ty->getAsRecordDecl()) {
66
if (const auto *cxxrd = dyn_cast<CXXRecordDecl>(rd);
67
(cxxrd && !cxxrd->hasTrivialDestructor()) ||
68
rd->isNonTrivialToPrimitiveDestroy())
0 commit comments