https://github.com/sdkrystian created https://github.com/llvm/llvm-project/pull/89618
Removes an unused static function `IsOverloaded` from `SemaOverload.cpp` that is unused after #88731. >From b0dcd5b85d4945530abb8209d8069e5fca65eb72 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski <sdkryst...@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, _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits