Fix assertion crash. I don't have a testcase, but the fix is pretty

obviously correct.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77969 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Friedman 2009-08-03 09:07:06 +00:00
Родитель 18c7c06033
Коммит d469fc8196
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -443,7 +443,7 @@ TemplateExprInstantiator::VisitCXXOperatorCallExpr(CXXOperatorCallExpr *E) {
F = Overloads->function_begin(), F = Overloads->function_begin(),
FEnd = Overloads->function_end(); FEnd = Overloads->function_end();
F != FEnd; ++F) F != FEnd; ++F)
Functions.insert(cast<FunctionDecl>(*F)); Functions.insert(*F);
// Add any functions found via argument-dependent lookup. // Add any functions found via argument-dependent lookup.
DeclarationName OpName DeclarationName OpName