зеркало из https://github.com/microsoft/clang.git
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:
Родитель
18c7c06033
Коммит
d469fc8196
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче