[clang] Make getAttr, getSpecificAttr, hasAttr, and hasSpecificAttr variadic (PR #78518)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 15:07:59 PST 2024


https://github.com/erichkeane commented:

Created as a draft, but I'd still love feedback on the approach, see if there is anyone with ideas on how to manage the 'might take just a single attr, might take a container + variadic list' functionality (as combining a default and a variadic parameter isn't really possible afaik).  

I haven't found a good use for the variadic functions yet, but can either look more, or take suggestions/will put them in as a part of moving this to not a draft.



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


More information about the cfe-commits mailing list