Skip to content

Commit 7c581b5

Browse files
authored
[Clang][Sema] Remove unused function after #88731 (#89618)
Removes an unused static function `IsOverloaded` from `SemaOverload.cpp` that is unused after #88731.
1 parent 6053522 commit 7c581b5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

clang/lib/Sema/SemaOverload.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14261,12 +14261,6 @@ ExprResult Sema::BuildOverloadedCallExpr(Scope *S, Expr *Fn,
1426114261
OverloadResult, AllowTypoCorrection);
1426214262
}
1426314263

14264-
static bool IsOverloaded(const UnresolvedSetImpl &Functions) {
14265-
return Functions.size() > 1 ||
14266-
(Functions.size() == 1 &&
14267-
isa<FunctionTemplateDecl>((*Functions.begin())->getUnderlyingDecl()));
14268-
}
14269-
1427014264
ExprResult Sema::CreateUnresolvedLookupExpr(CXXRecordDecl *NamingClass,
1427114265
NestedNameSpecifierLoc NNSLoc,
1427214266
DeclarationNameInfo DNI,

0 commit comments

Comments
 (0)