Author: Krystian Stasiowski
Date: 2024-04-22T12:04:13-04:00
New Revision: 7c581b554efa7c720b780f721877107ae0fc78ff

URL: 
https://github.com/llvm/llvm-project/commit/7c581b554efa7c720b780f721877107ae0fc78ff
DIFF: 
https://github.com/llvm/llvm-project/commit/7c581b554efa7c720b780f721877107ae0fc78ff.diff

LOG: [Clang][Sema] Remove unused function after #88731 (#89618)

Removes an unused static function `IsOverloaded` from `SemaOverload.cpp`
that is unused after #88731.

Added: 
    

Modified: 
    clang/lib/Sema/SemaOverload.cpp

Removed: 
    


################################################################################
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

Reply via email to