[clang] [Clang][Sema] Remove unused function after #88731 (PR #89618)
Krystian Stasiowski via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 22 08:58:27 PDT 2024
https://github.com/sdkrystian updated https://github.com/llvm/llvm-project/pull/89618
>From ab5add6546306348079041d977735fdac44e5724 Mon Sep 17 00:00:00 2001
From: Krystian Stasiowski <sdkrystian at gmail.com>
Date: Mon, 22 Apr 2024 11:57:18 -0400
Subject: [PATCH] [Clang][Sema] Remove unused function after #88731
---
clang/lib/Sema/SemaOverload.cpp | 6 ------
1 file changed, 6 deletions(-)
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp
index a2763e331357fa..04cd9e78739d20 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/lib/Sema/SemaOverload.cpp
@@ -14261,12 +14261,6 @@ ExprResult Sema::BuildOverloadedCallExpr(Scope *S, Expr *Fn,
OverloadResult, AllowTypoCorrection);
}
-static bool IsOverloaded(const UnresolvedSetImpl &Functions) {
- return Functions.size() > 1 ||
- (Functions.size() == 1 &&
- isa<FunctionTemplateDecl>((*Functions.begin())->getUnderlyingDecl()));
-}
-
ExprResult Sema::CreateUnresolvedLookupExpr(CXXRecordDecl *NamingClass,
NestedNameSpecifierLoc NNSLoc,
DeclarationNameInfo DNI,
More information about the cfe-commits
mailing list