FunctionTemplateDecl. I'm not quite sure what else it could be, though,
and would appreciate some insight.
This ought to fix the broken builds
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133600
91177308-0d34-0410-b5e6-
96231b3b80d8
ArgType->getPointeeType().isConstQualified())
Result->setConstParamMatch(true);
}
- } else {
- FunctionTemplateDecl *Tmpl = cast<FunctionTemplateDecl>(*I);
+ } else if (FunctionTemplateDecl *Tmpl = cast<FunctionTemplateDecl>(*I)) {
AddTemplateOverloadCandidate(Tmpl, DeclAccessPair::make(Tmpl, AS_public),
0, &Arg, NumArgs, OCS, true);
}