Skip to content

Commit ed9d3bb

Browse files
committed
fixup! simplify DeclCache check
1 parent 970cc99 commit ed9d3bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGDebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5893,7 +5893,7 @@ void CGDebugInfo::finalize() {
58935893
for (auto const *VD : StaticDataMemberDefinitionsToEmit) {
58945894
assert(VD->isStaticDataMember());
58955895

5896-
if (auto It = DeclCache.find(VD); It != DeclCache.end())
5896+
if (DeclCache.contains(VD))
58975897
continue;
58985898

58995899
if (!VD->hasInit())

0 commit comments

Comments
 (0)