[clang] [Clang][Sema] Fix crash in CheckUsingDeclQualifier due to diagnostic missing an argument (PR #161277)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 2 08:36:47 PDT 2025


================
@@ -226,7 +227,8 @@ void TrivialButNonPODThroughEllipsis() {
 }
 
 struct HasExplicitConversion {
-  explicit operator bool(); // expected-warning {{explicit conversion functions are incompatible with C++98}}
+  // FIXME I think we should generate this diagnostic in C++20
----------------
shafik wrote:

https://github.com/llvm/llvm-project/issues/161689

https://github.com/llvm/llvm-project/pull/161277


More information about the cfe-commits mailing list