================ @@ -1309,6 +1309,16 @@ Sema::CheckOverload(Scope *S, FunctionDecl *New, const LookupResult &Old, return Ovl_Overload; } +template <typename AttrT> static bool hasExplicitAttr(const FunctionDecl *D) { + if (!D) + return false; ---------------- yxsamliu wrote:
will do https://github.com/llvm/llvm-project/pull/121986 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits