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

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 22 11:58:25 PDT 2020


hokein marked an inline comment as done.
hokein added inline comments.


================
Comment at: clang-tools-extra/clangd/unittests/FindTargetTests.cpp:1293
+        struct Base {};
+        namespace foo {
+        template <typename $0^T>
----------------
kadircet wrote:
> is namespace required?
yes, the test expects to look for `foo` namespace or `foo` function.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78626/new/

https://reviews.llvm.org/D78626





More information about the cfe-commits mailing list