Files
clang-p2996/clang/lib/Sema/SemaConcept.cpp
Erich Keane b5d9f00b20 Forbid implicit conversion of constraint expression to bool
As reported in https://github.com/llvm/llvm-project/issues/54524, and
later in https://github.com/llvm/llvm-project/issues/60038, we were not
properly implmenting temp.constr.atomic P3. This patch stops implicitly
converting constraints to bool, and ensures the Rvalue conversion takes
place as needed.

Differential Revision: https://reviews.llvm.org/D141954
2023-01-19 10:12:59 -08:00

61 KiB