================ @@ -7876,6 +7883,7 @@ static void AddMethodTemplateCandidateImmediately( // function template are combined with the set of non-template candidate // functions. TemplateDeductionInfo Info(CandidateSet.getLocation()); + auto Method = cast<CXXMethodDecl>(MethodTmpl->getTemplatedDecl()); ---------------- AaronBallman wrote:
```suggestion auto *Method = cast<CXXMethodDecl>(MethodTmpl->getTemplatedDecl()); ``` https://github.com/llvm/llvm-project/pull/147046 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits