[all-commits] [llvm/llvm-project] 9c903d: [clangd][Hover] Handle uninstantiated default args
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Fri Jan 31 06:03:39 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9c903d0373ff940f9143efab8d948edf776de9f1
https://github.com/llvm/llvm-project/commit/9c903d0373ff940f9143efab8d948edf776de9f1
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2020-01-31 (Fri, 31 Jan 2020)
Changed paths:
M clang-tools-extra/clangd/Hover.cpp
M clang-tools-extra/clangd/unittests/HoverTests.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list