forked from OSchip/llvm-project
Fix assertion crash. I don't have a testcase, but the fix is pretty
obviously correct. llvm-svn: 77969
This commit is contained in:
parent
f48daf5823
commit
76df43c08b
|
@ -443,7 +443,7 @@ TemplateExprInstantiator::VisitCXXOperatorCallExpr(CXXOperatorCallExpr *E) {
|
|||
F = Overloads->function_begin(),
|
||||
FEnd = Overloads->function_end();
|
||||
F != FEnd; ++F)
|
||||
Functions.insert(cast<FunctionDecl>(*F));
|
||||
Functions.insert(*F);
|
||||
|
||||
// Add any functions found via argument-dependent lookup.
|
||||
DeclarationName OpName
|
||||
|
|
Loading…
Reference in New Issue