[all-commits] [llvm/llvm-project] fbd8f8: Ensure comparison of constraints creates a code sy...
Erich Keane via All-commits
all-commits at lists.llvm.org
Thu May 18 09:07:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fbd8f8985e36581487371e9ff4ac7d99655b51e7
https://github.com/llvm/llvm-project/commit/fbd8f8985e36581487371e9ff4ac7d99655b51e7
Author: Erich Keane <erich.keane at intel.com>
Date: 2023-05-18 (Thu, 18 May 2023)
Changed paths:
M clang/lib/Sema/SemaConcept.cpp
M clang/test/SemaTemplate/concepts-out-of-line-def.cpp
Log Message:
-----------
Ensure comparison of constraints creates a code synth context
This is a regression from 6db007a0 that was reported in:
https://github.com/llvm/llvm-project/issues/62697
The assertion was because we require a code synthesis context for the
instantiation of templates, and this reproducer causes a comparison that
doesn't have a parent-template causing one to exists.
This patch fixes it by creating a ConstraintNormalization context.
More information about the All-commits
mailing list