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 ff9f1a6 commit d6a6e25Copy full SHA for d6a6e25
clang/lib/AST/ASTContext.cpp
@@ -12587,8 +12587,7 @@ void ASTContext::forEachMultiversionedFunctionVersion(
12587
FD->getDeclContext()->getRedeclContext()->lookup(FD->getDeclName())) {
12588
FunctionDecl *CurFD = CurDecl->getAsFunction()->getMostRecentDecl();
12589
if (CurFD && hasSameType(CurFD->getType(), FD->getType()) &&
12590
- !SeenDecls.contains(CurFD)) {
12591
- SeenDecls.insert(CurFD);
+ SeenDecls.insert(CurFD).second) {
12592
Pred(CurFD);
12593
}
12594
0 commit comments