diff options
author | Sam McCall <sam.mccall@gmail.com> | 2020-02-04 14:42:06 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2020-02-04 17:24:26 +0100 |
commit | 2629035a009095f62f48413e175437261165ecd7 (patch) | |
tree | 90bbfae6465810c030efaf21e5024e7e6a3bbca1 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 2f4c4d0a78e352e33f903d96f406999753d23e07 (diff) | |
download | llvm-2629035a009095f62f48413e175437261165ecd7.zip llvm-2629035a009095f62f48413e175437261165ecd7.tar.gz llvm-2629035a009095f62f48413e175437261165ecd7.tar.bz2 |
[clangd] Don't assert when completing a lambda variable inside the lambda.
Summary:
This is a fairly ugly hack - we back off several features for any variable
whose type isn't deduced, to avoid computing/caching linkage.
Better suggestions welcome.
Fixes https://github.com/clangd/clangd/issues/274
Reviewers: kadircet, kbobyrev
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73960
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions