[clang] [Clang] Avoid unnecessary overload resolution when building RecoveryExpr (PR #222296)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 9 06:09:46 PDT 2026


https://github.com/erichkeane commented:

I'm not a huge fan of how this got wired around here.  I like the idea of suppressing the built RecoveryExpr, but pushing around an extra set like this for this purpose seems odd? 

What about teaching CandidateSet's iterators to self-filter?  And doesn't CandidateSet already know its valid list?



https://github.com/llvm/llvm-project/pull/222296


More information about the cfe-commits mailing list