Skip to content

Commit e7eadbd

Browse files
[ARCMigrate] Modernize PoolVarInfo (NFC)
1 parent 3d64b63 commit e7eadbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/ARCMigrate/TransAutoreleasePool.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,11 +417,11 @@ class AutoreleasePoolRewriter
417417
Selector DrainSel;
418418

419419
struct PoolVarInfo {
420-
DeclStmt *Dcl;
420+
DeclStmt *Dcl = nullptr;
421421
ExprSet Refs;
422422
SmallVector<PoolScope, 2> Scopes;
423423

424-
PoolVarInfo() : Dcl(nullptr) { }
424+
PoolVarInfo() = default;
425425
};
426426

427427
std::map<VarDecl *, PoolVarInfo> PoolVars;

0 commit comments

Comments
 (0)