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

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 22 09:12:56 PDT 2020


kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.

thanks, lgtm!



================
Comment at: clang-tools-extra/clangd/unittests/FindTargetTests.cpp:1293
+        struct Base {};
+        namespace foo {
+        template <typename $0^T>
----------------
is namespace required?


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