[PATCH] D151529: [NFC][CLANG] Fix nullptr dereference issue in DeduceTemplateArgumentsByTypeMatch()

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 30 06:16:16 PDT 2023


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

1 nit to do on commit.



================
Comment at: clang/lib/Sema/SemaTemplateDeduction.cpp:1707
+      const auto *IAP = S.Context.getAsIncompleteArrayType(P);
+      assert(IAP && "Template arguments not of incomplete array type!");
+
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151529



More information about the cfe-commits mailing list