[clang] Fix assertion failure during operator overload resolution. (PR #98671)

2024-07-12 Thread Daniel M. Katz via cfe-commits
https://github.com/katzdm ready_for_review https://github.com/llvm/llvm-project/pull/98671 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix assertion failure during operator overload resolution. (PR #98671)

2024-07-12 Thread Daniel M. Katz via cfe-commits
https://github.com/katzdm updated https://github.com/llvm/llvm-project/pull/98671 >From 47db72077258ebe086059f116bbf7fb32c184c8d Mon Sep 17 00:00:00 2001 From: Dan Katz Date: Fri, 12 Jul 2024 13:57:33 -0400 Subject: [PATCH] Fix assertion failure during operator overload resolution. --- clang/

[clang] Fix assertion failure during operator overload resolution. (PR #98671)

2024-07-12 Thread Daniel M. Katz via cfe-commits
https://github.com/katzdm created https://github.com/llvm/llvm-project/pull/98671 When clang is built with assertions, an otherwise silent (and seemingly innocuous) assertion failure from `SemaConcept.cpp` is triggered by the following program: ```cpp struct S { operator int(); template