[all-commits] [llvm/llvm-project] ce5ebf: [clangd] Fix hover crashing on integral or enumera...

gkllvm via All-commits all-commits at lists.llvm.org
Tue May 31 13:05:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce5ebf0b9113df8ccaec1bcfd6804fb16cdef69d
      https://github.com/llvm/llvm-project/commit/ce5ebf0b9113df8ccaec1bcfd6804fb16cdef69d
  Author: Georg Kotheimer <gkll at mailbox.org>
  Date:   2022-05-31 (Tue, 31 May 2022)

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

  Log Message:
  -----------
  [clangd] Fix hover crashing on integral or enumeral casts

When pretty printing the value of an expression, we cannot infer from
the type of the expression the type of the constant that the expression
evaluates to, as the expression might contain a type cast.




More information about the All-commits mailing list