[PATCH] D146178: [Clang][Sema] Fix comparison of constraint expressions

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 3 07:06:21 PDT 2023


erichkeane added a comment.

Missing context in the diff, but the changes since commit are all sensible to me.  If this fixes everything we know about, I'm OK with it.



================
Comment at: clang/lib/Sema/SemaTemplateInstantiate.cpp:344
                                      Innermost->asArray(), Final);
-
-  const Decl *CurDecl = ND;
+      CurDecl = Response::UseNextDecl(ND).NextDecl;
+  }
----------------
alexander-shaposhnikov wrote:
> this bit is important.
Oh yeah, that makes a lot of sense.  


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146178



More information about the cfe-commits mailing list