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

Alexander Shaposhnikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 3 00:22:29 PDT 2023


alexander-shaposhnikov added inline comments.


================
Comment at: clang/lib/Sema/SemaTemplateInstantiate.cpp:133
 }
 
+Response HandlePartialClassTemplateSpec(
----------------
HandlePartialClassTemplateSpec is from Erich's diff (https://reviews.llvm.org/D147722)


================
Comment at: clang/lib/Sema/SemaTemplateInstantiate.cpp:344
                                      Innermost->asArray(), Final);
-
-  const Decl *CurDecl = ND;
+      CurDecl = Response::UseNextDecl(ND).NextDecl;
+  }
----------------
this bit is important.


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