summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/anon-functions.ll
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2019-08-02 15:23:04 +0000
committerIlya Biryukov <ibiryukov@google.com>2019-08-02 15:23:04 +0000
commit25082817eb6b37f3a51799b006b297c0cd742179 (patch)
treeae92544fc8c01218fe5383c7956f1c417388e427 /llvm/test/Bitcode/anon-functions.ll
parent809e9d1efa2f58b6333b1a0445e8574beedffc22 (diff)
downloadbcm5719-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/anon-functions.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud