File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 4545#include <cstddef>
4646#include <cstdlib>
4747#include <optional>
48- #include <variant>
4948
5049using namespace clang;
5150using namespace sema;
@@ -7838,7 +7837,7 @@ static void AddMethodTemplateCandidateImmediately(
78387837 Candidate.Function = MethodTmpl->getTemplatedDecl();
78397838 Candidate.Viable = false;
78407839 Candidate.RewriteKind =
7841- CandidateSet.getRewriteInfo().getRewriteKind(Candidate.Function, PO);
7840+ CandidateSet.getRewriteInfo().getRewriteKind(Candidate.Function, PO);
78427841 Candidate.IsSurrogate = false;
78437842 Candidate.IgnoreObjectArgument =
78447843 cast<CXXMethodDecl>(Candidate.Function)->isStatic() ||
@@ -7951,7 +7950,7 @@ static void AddTemplateOverloadCandidateImmediately(
79517950 Candidate.Function = FunctionTemplate->getTemplatedDecl();
79527951 Candidate.Viable = false;
79537952 Candidate.RewriteKind =
7954- CandidateSet.getRewriteInfo().getRewriteKind(Candidate.Function, PO);
7953+ CandidateSet.getRewriteInfo().getRewriteKind(Candidate.Function, PO);
79557954 Candidate.IsSurrogate = false;
79567955 Candidate.IsADLCandidate = llvm::to_underlying(IsADLCandidate);
79577956 // Ignore the object argument if there is one, since we don't have an object
You can’t perform that action at this time.
0 commit comments