Files
clang-p2996/clang/lib/Sema/SemaConcept.cpp
Erich Keane fbd8f8985e 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.
2023-05-18 09:07:42 -07:00

64 KiB