diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2020-01-30 18:42:01 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2020-06-10 11:53:19 +0200 |
commit | 30d05b898c6e84160507a66aabba6aceb129a9c7 (patch) | |
tree | 5f59520e7718aa1951b2429c2492d4eebff08c82 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | 3f4a753f597357db77fe395561234a50daa451b3 (diff) | |
download | bcm5719-llvm-30d05b898c6e84160507a66aabba6aceb129a9c7.tar.gz bcm5719-llvm-30d05b898c6e84160507a66aabba6aceb129a9c7.zip |
[clangd][Hover] Handle uninstantiated default args
Summary:
Default args might exist but be unparsed or uninstantiated.
getDefaultArg asserts on those. This patch makes sure we don't crash in such
scenarios.
Reviewers: sammccall, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73723
(cherry-picked from commit 9c903d0373ff940f9143efab8d948edf776de9f1)
Fixes https://github.com/clangd/clangd/issues/424
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions