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 1714fac commit 671088bCopy full SHA for 671088b
clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
@@ -3800,8 +3800,8 @@ QualType RewriteModernObjC::GetGroupRecordTypeForObjCIvarBitfield(ObjCIvarDecl *
3800
const ObjCInterfaceDecl *CDecl = IV->getContainingInterface();
3801
unsigned GroupNo = ObjCIvarBitfieldGroupNo(IV);
3802
std::pair<const ObjCInterfaceDecl*, unsigned> tuple = std::make_pair(CDecl, GroupNo);
3803
- if (GroupRecordType.count(tuple))
3804
- return GroupRecordType[tuple];
+ if (auto It = GroupRecordType.find(tuple); It != GroupRecordType.end())
+ return It->second;
3805
3806
SmallVector<ObjCIvarDecl *, 8> IVars;
3807
for (const ObjCIvarDecl *IVD = CDecl->all_declared_ivar_begin();
0 commit comments