[clang] [APINotes] Serialize function-like Where.Parameters (PR #204147)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 29 01:17:37 PDT 2026


StoeckOverflow wrote:

Pushed an update:

`getWhereParameters` now returns the validity bit and optional parameters as a pair instead of using an out parameter. I kept `FunctionWhere::Parameters` optional so `Where: {}` can still be diagnosed separately from `Where: { Parameters: [] }`.

I also reverted the unrelated clang-format churn in `APINotesWriter.cpp`.

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


More information about the cfe-commits mailing list