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 e048908 commit 2add8a4Copy full SHA for 2add8a4
clang/lib/Sema/SemaDecl.cpp
@@ -15868,8 +15868,8 @@ static void diagnoseImplicitlyRetainedSelf(Sema &S) {
15868
llvm::DenseMap<const BlockDecl *, bool> EscapeInfo;
15869
15870
auto IsOrNestedInEscapingBlock = [&](const BlockDecl *BD) {
15871
- if (EscapeInfo.count(BD))
15872
- return EscapeInfo[BD];
+ if (auto It = EscapeInfo.find(BD); It != EscapeInfo.end())
+ return It->second;
15873
15874
bool R = false;
15875
const BlockDecl *CurBD = BD;
0 commit comments