commit | 25082817eb6b37f3a51799b006b297c0cd742179 | [log] [tgz] |
---|---|---|
author | Ilya Biryukov <[email protected]> | Fri Aug 02 15:23:04 2019 |
committer | Ilya Biryukov <[email protected]> | Fri Aug 02 15:23:04 2019 |
tree | ae92544fc8c01218fe5383c7956f1c417388e427 | |
parent | 809e9d1efa2f58b6333b1a0445e8574beedffc22 [diff] |
[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