This patch adapts to D140059, which makes an assumption that the
caller of APSInt::getExtValue promises no narrowing conversion
happens, i.e., from unsigned int64 to signed int64.
It also fixes clangd/clangd#1557.
Differential D146874
[clangd] Fix a hover crash on unsigned 64bit value zyounan on Mar 25 2023, 8:41 AM. Authored by
Details This patch adapts to D140059, which makes an assumption that the It also fixes clangd/clangd#1557.
Diff Detail
Event Timeline
Comment Actions Thank you!
|
Just to make sure I'm not missing anything: this comment change is just fixing a pre-existing mistake in the comment (-2^32 was already printed as 0xffffffff00000000), right? i.e. this patch doesn't change how any number is printed