[all-commits] [llvm/llvm-project] 72142f: [clangd] Fix hover crashing on integral or enumera...
gkllvm via All-commits
all-commits at lists.llvm.org
Wed Sep 7 07:55:05 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 72142fbac496a66769e16c80b076216d7c449ab2
https://github.com/llvm/llvm-project/commit/72142fbac496a66769e16c80b076216d7c449ab2
Author: Georg Kotheimer <gkll at mailbox.org>
Date: 2022-09-07 (Wed, 07 Sep 2022)
Changed paths:
M clang-tools-extra/clangd/Hover.cpp
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang-tools-extra/clangd/unittests/TestTU.cpp
M clang-tools-extra/clangd/unittests/TestTU.h
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