Commit c9008243 authored by Haojian Wu's avatar Haojian Wu Committed by Sam McCall
Browse files

[clangd] Fix a crash for accessing a null template decl returned by findExplicitReferences.

Summary: Fixes https://github.com/clangd/clangd/issues/347.

Reviewers: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D78626

(cherry picked from commit 7d1ee639)
Includes some test-only changes from f651c402
to support the cherry-picked tests.
Test tweaked slightly as it exhibits a separate bug that was fixed on master.
parent 0530e2a8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment