In C typos in arguments in a call of an overloadable function lead to a failure of construction of CallExpr and following recovery does not handle created delayed typos. This causes an assertion fail in Sema::~Sema since Sema::DelayedTypos remains not empty. The patch fixes that behavior by handling a call with arguments having dependant types in the way that C++ does.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I would normally try to review this, but I don't at all feel comfortable here. Sorry. :(
Comment Actions
part of me wants to just check for/correct TypoExprs here and return ExprError() if we find any (similar to how checkArgsForPlaceholders works), but i can't figure out what that would buy us. so, this LGTM.
thank you!