[clang] [APINotes] Parse function-like Where.Parameters (PR #203227)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 11 06:24:39 PDT 2026


================
@@ -1137,6 +1151,12 @@ class YAMLConverter {
     }
 
     for (const auto &CXXMethod : T.Methods) {
+      if (CXXMethod.Where && CXXMethod.Where->Parameters) {
+        emitError(
----------------
Xazax-hun wrote:

Nit: we would not trigger a diagnostic for just an empty `Where` yet, right? Should we add that?

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


More information about the cfe-commits mailing list