[cfe-dev] Criteria for Accepting Language Extensions into Clang

David Chisnall csdavec at swan.ac.uk
Thu Jul 21 11:12:06 PDT 2011


Sounds good, but I'd like one clarification:

On 21 Jul 2011, at 18:40, Douglas Gregor wrote:

> 4) Representation within the appropriate governing organization: For extensions to a language governed by a standards committee (C, C++, OpenCL), the extension itself must have an active proposal and proponent within that committee and have a reasonable chance of acceptance. Clang should drive the standard, not diverge from it.


How does this mesh with extensions that don't affect standards compliance, such as attributes and pragmas?  Most of the attributes that we support for C are not part of any standard - they're explicitly extensions that most likely will not be added to a standard.  According to this criterion, we should not accept any more attributes or pragmas along the lines of 90% of the ones that we already have...

David



More information about the cfe-dev mailing list