[clang] [Clang] Preserve original arguments in constexpr call diagnostics (PR #239911)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 12 02:06:52 PST 2026


keepyixiao wrote:

> I don't have a strong opinion apart from two small nits. This makes every function call slower of course, but improves the diagnostics.

Thanks! I've addressed both nits in the latest commit.

I understand the potential performance impact of the additional overhead on function calls. However, I haven't found an alternative approach that improves the diagnostics without introducing this overhead.

Thanks again for taking the time to review!



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


More information about the cfe-commits mailing list