Skip to content

Commit 55112fd

Browse files
committed
Address code review comments
1 parent a5a0d99 commit 55112fd

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

clang/lib/CIR/CodeGen/CIRGenExpr.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1380,9 +1380,7 @@ LValue
13801380
CIRGenFunction::getOrCreateOpaqueLValueMapping(const OpaqueValueExpr *e) {
13811381
assert(OpaqueValueMapping::shouldBindAsLValue(e));
13821382

1383-
llvm::DenseMap<const OpaqueValueExpr *, LValue>::iterator it =
1384-
opaqueLValues.find(e);
1385-
1383+
auto it = opaqueLValues.find(e);
13861384
if (it != opaqueLValues.end())
13871385
return it->second;
13881386

@@ -1394,9 +1392,7 @@ RValue
13941392
CIRGenFunction::getOrCreateOpaqueRValueMapping(const OpaqueValueExpr *e) {
13951393
assert(!OpaqueValueMapping::shouldBindAsLValue(e));
13961394

1397-
llvm::DenseMap<const OpaqueValueExpr *, RValue>::iterator it =
1398-
opaqueRValues.find(e);
1399-
1395+
auto it = opaqueRValues.find(e);
14001396
if (it != opaqueRValues.end())
14011397
return it->second;
14021398

0 commit comments

Comments
 (0)