AaronBallman wrote: > Is there a Clang project policy that every attribute should be spellable with > the C/C++ syntax under the `clang::` namespace?
No, there's strong encouragement to add a `[[]]` spelling in both C and C++ when it makes sense and is possible to do, but it's not a requirement (some attributes cannot be expressed that way, others are following different standard requirements, etc). In this case, I'd recommend adding the spelling only if there's a compelling reason to do so. If we wanted to add `[[]]` spellings, I think using a different vendor (like `swift` as @compnerd suggested) would make sense because I think the Swift compiler really "owns" the specification of these. https://github.com/llvm/llvm-project/pull/183484 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
