[clang] [clang] [C++20] [Modules] Don't profile UnresolvedLookupExpr in require clause and noexcept clause (PR #194283)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 30 09:14:00 PDT 2026


mizvekov wrote:

> I am not sure if I understood. I feel like what you're saying is the same thing as I had in [4c2e49d](https://github.com/llvm/llvm-project/commit/4c2e49dc5ce3125be9fb07dcefe9be970ce739ec)
> 
> could you elaborate?

I think its close to what that commit proposes to do, but there are some problems.

For example, it skips a `VisitStmtNoChildren` call to the FoldExpr, which could introduce ambiguities.

It would have helped to explain in a comment that it intentionally doesn't profile the callee sub-expression, and that's basically the difference between what existed before.

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


More information about the cfe-commits mailing list