diff options
| author | Ilya Biryukov <ibiryukov@google.com> | 2019-08-02 15:23:04 +0000 |
|---|---|---|
| committer | Ilya Biryukov <ibiryukov@google.com> | 2019-08-02 15:23:04 +0000 |
| commit | 25082817eb6b37f3a51799b006b297c0cd742179 (patch) | |
| tree | ae92544fc8c01218fe5383c7956f1c417388e427 /llvm/test/Bitcode/compatibility.ll | |
| parent | 809e9d1efa2f58b6333b1a0445e8574beedffc22 (diff) | |
| download | bcm5719-llvm-25082817eb6b37f3a51799b006b297c0cd742179.tar.gz bcm5719-llvm-25082817eb6b37f3a51799b006b297c0cd742179.zip | |
[clangd] Fix a crash when presenting values for Hover
Summary:
We should pass the expression type, not a variable type when printing
the resulting value. Variable type may be different from what the
pretty-printing function expects, e.g. have references.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65655
llvm-svn: 367687
Diffstat (limited to 'llvm/test/Bitcode/compatibility.ll')
0 files changed, 0 insertions, 0 deletions

