Don't show negative numbers
Don't show numbers <10 (hex is the same as decimal)
Show numeric enum values in hex too
Details
Details
- Reviewers
kadircet - Commits
- rG289fee4ab762: [clangd] Show hex value of numeric constants
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
thanks, lgtm!
should we also have some tests for a negative value in hover?
clang-tools-extra/clangd/Hover.cpp | ||
---|---|---|
398–400 | are we okay with printing negatives as hex in here? as in theory one can have enum { foo = -1, } |
are we okay with printing negatives as hex in here? as in theory one can have