[all-commits] [llvm/llvm-project] 289fee: [clangd] Show hex value of numeric constants

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Mar 2 07:33:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 289fee4ab7626447a7efcc245eba2f475d00810e
      https://github.com/llvm/llvm-project/commit/289fee4ab7626447a7efcc245eba2f475d00810e
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2021-03-02 (Tue, 02 Mar 2021)

  Changed paths:
    M clang-tools-extra/clangd/Hover.cpp
    M clang-tools-extra/clangd/unittests/HoverTests.cpp

  Log Message:
  -----------
  [clangd] Show hex value of numeric constants

Don't show negative numbers
Don't show numbers <10 (hex is the same as decimal)
Show numeric enum values in hex too

Differential Revision: https://reviews.llvm.org/D97226




More information about the All-commits mailing list