[Lldb-commits] [lldb] [lldb] Fix `from_size` initialization in `DoIntegralPromotion` (PR #191421)

Ilia Kuklin via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 10 08:31:56 PDT 2026


kuilpd wrote:

> I'm wondering if we can use `ASTContext::getPromotedIntegerType()` here? Also, there is `ASTContext::isPromotableIntegerType()` that we could possibly use in `TypeSystemClang::IsPromotableIntegerType()`.

Huh, I tried it out, we can. I didn't know that this functionality is isolated and can be reused like that. Thank you, I'll make another PR.

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


More information about the lldb-commits mailing list