[all-commits] [llvm/llvm-project] 0cf75a: [clangd] Enable hover on character literal.

Haojian Wu via All-commits all-commits at lists.llvm.org
Thu Jan 27 12:26:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cf75aac42eb6bd800405d152dfe7414a9ab6d99
      https://github.com/llvm/llvm-project/commit/0cf75aac42eb6bd800405d152dfe7414a9ab6d99
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

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

  Log Message:
  -----------
  [clangd] Enable hover on character literal.

In the initial hover expression patch (https://reviews.llvm.org/D72500), we
disabled all literals.

There is some value on running hover on character literals (e.g. see the
int value of the char).

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




More information about the All-commits mailing list