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 a3d9776 commit fe5b047Copy full SHA for fe5b047
lib/IRGen/GenStruct.cpp
@@ -1361,7 +1361,6 @@ class ClangRecordLowering {
1361
}
1362
1363
void collectBases(const clang::RecordDecl *decl) {
1364
- auto &layout = decl->getASTContext().getASTRecordLayout(decl);
1365
if (auto cxxRecord = dyn_cast<clang::CXXRecordDecl>(decl)) {
1366
auto bases = getBasesAndOffsets(cxxRecord);
1367
for (auto base : bases) {
0 commit comments