This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 28 Jan 2016 22:52, Joseph Myers wrote: > On Thu, 28 Jan 2016, Dwight Guth wrote: > > Okay but if so, then why put the __restrict in the header files at all > > if it doesn't really matter? And why put it there only if the compiler > > is gcc? > > Effectively it serves as documentation of intent for people reading the > headers (much like the argument names with __ prefixes). wouldn't it also assist automated tools like linters/static analyzers ? -mike
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |