https://bugs.kde.org/show_bug.cgi?id=369546

--- Comment #11 from Peter Ped Helcmanovsky <p...@7gods.org> ---
I believe there are use cases where both original macro name and/or evaluated
value at compile time would be helpful, but the actual value is always
build-configuration dependent, so I guess showing the original string directly
from source is both simpler, and will work best.

I.e. in your original example or mine I would expect `dwMilliSeconds =
INFINITE` and `length=INT_MAX` ... it is either already enough info for
programmer, or in case he's curious, he can hunt down the actual definition of
macro (for current build config) and see how it expands. But these macros are
usually in place to prevent magic numbers in source, and preventing magic
numbers in hover info then makes sense to me. (for example `swMilliSeconds =
-1.123` seems counter productive, not conveying the original intention of the
default value).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to