[PATCH] D86993: Document Clang's expectations of the C standard library.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 14 09:45:04 PDT 2023


aaron.ballman added a comment.

In D86993#4584619 <https://reviews.llvm.org/D86993#4584619>, @nikic wrote:

> @aaron.ballman I wanted to check back whether the linked document is what you had in mind, or whether some more/else would be needed.

Sorry about the delayed review; this fell off my radar! This is exactly along the lines of what I was thinking of -- I left some comments on the document. In terms of next steps, I think we can do a few things:

1. You and I can iterate on the document until we're ready to submit it to WG14
2. Simultaneously, I think we can move forward with this review -- we can add a statement along the lines of "C standard library implementations that do not guarantee these properties are incompatible with Clang and LLVM (and with several other major compilers); please see WG14 NXXXX, which proposes changes to the C standard to make this behavior conforming." (I'm not strongly tied to these words, just so long as there's some link back to the WG14 document justifying the deviation from the C standard.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86993/new/

https://reviews.llvm.org/D86993



More information about the cfe-commits mailing list