[clang] [CONCEPTS]Corrected comparison of constraints with out of line CTD (PR #69244)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 17 06:41:15 PDT 2023


================
@@ -346,6 +351,11 @@ MultiLevelTemplateArgumentList Sema::getTemplateInstantiationArgs(
     CurDecl = Response::UseNextDecl(ND).NextDecl;
   }
 
+  if (!ND) {
+    assert(DC);
----------------
erichkeane wrote:

Probably not necessary, I'll remove it.  I think I added that top assert later on.

https://github.com/llvm/llvm-project/pull/69244


More information about the cfe-commits mailing list