diff options
| author | Adam Czachorowski <adamcz@google.com> | 2020-04-08 13:42:10 +0200 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2020-04-08 13:59:47 +0200 |
| commit | cca10be3f60dd30055acc70d117649f889da779d (patch) | |
| tree | 7394b7f8dcba4f27f322b9ee9d3e5e3c4b3b1d8c /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
| parent | a59008a3a5b0aa75fc78eb708dbc788600e79c65 (diff) | |
| download | llvm-cca10be3f60dd30055acc70d117649f889da779d.zip llvm-cca10be3f60dd30055acc70d117649f889da779d.tar.gz llvm-cca10be3f60dd30055acc70d117649f889da779d.tar.bz2 | |
[clangd] Fix a crash bug in AddUsing tweak around template handling.
Summary:
The crash happened on cases like:
template<typename TT> using one = two::three<T^T>;
because we tried to call getName() on getBaseTypeIdentifier(), which can
be nullptr.
Ideally we would support this use case as well, but for now not crashing
will do.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D77656
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions
