<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/include, branch users/chapuni/cov/single/unify</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[libc] Revamp hdrgen command line and build integration (#121522)</title>
<updated>2025-01-07T23:56:12+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>mcgrathr@google.com</email>
</author>
<published>2025-01-07T23:56:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6ad0dcf67f5dccdf8506ce5f51d793062a1c6879'/>
<id>6ad0dcf67f5dccdf8506ce5f51d793062a1c6879</id>
<content type='text'>
This adds a new main command-line entry point for hdrgen, in the
new main.py.  This new interface is used for generating a header.
The old ways of invoking yaml_to_classes.py for other purposes
are left there for now, but `--e` is renamed to `--entry-point`
for consistency with the new CLI.

The YAML schema is expanded with the `header_template` key where
the corresponding `.h.def` file's path is given relative to where
the YAML file is found.  The build integration no longer gives
the `.h.def` path on the command line.  Instead, the script now
emits a depfile that's used by the cmake rules to track that.
The output file is always explicit in the script command line
rather than sometimes being derived from a directory path.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a new main command-line entry point for hdrgen, in the
new main.py.  This new interface is used for generating a header.
The old ways of invoking yaml_to_classes.py for other purposes
are left there for now, but `--e` is renamed to `--entry-point`
for consistency with the new CLI.

The YAML schema is expanded with the `header_template` key where
the corresponding `.h.def` file's path is given relative to where
the YAML file is found.  The build integration no longer gives
the `.h.def` path on the command line.  Instead, the script now
emits a depfile that's used by the cmake rules to track that.
The output file is always explicit in the script command line
rather than sometimes being derived from a directory path.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Keep headers compatible with -std=c89 mode (#121981)</title>
<updated>2025-01-07T20:13:24+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>mcgrathr@google.com</email>
</author>
<published>2025-01-07T20:13:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ce33a48efdd61435e026733315f1ac960774c254'/>
<id>ce33a48efdd61435e026733315f1ac960774c254</id>
<content type='text'>
C89 doesn't have the `restrict` keyword.  When in `-std=c89`
mode, GNU-compatible compilers require the `__restrict` spelling.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
C89 doesn't have the `restrict` keyword.  When in `-std=c89`
mode, GNU-compatible compilers require the `__restrict` spelling.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Use __attribute__((__noreturn__)) for _Noreturn in C &lt; 11 (#121252)</title>
<updated>2025-01-03T00:57:31+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>mcgrathr@google.com</email>
</author>
<published>2025-01-03T00:57:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4010e0c45b87e4d073c407cae787e96d4808ad36'/>
<id>4010e0c45b87e4d073c407cae787e96d4808ad36</id>
<content type='text'>
When in modes like C99, the _Noreturn keyword is not available in
C.  But GNU-compatible compilers have a `noreturn` attribute with
the same effect on function declarations.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When in modes like C99, the _Noreturn keyword is not available in
C.  But GNU-compatible compilers have a `noreturn` attribute with
the same effect on function declarations.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Move hdrgen yaml files into include/ (#121443)</title>
<updated>2025-01-02T01:03:35+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>mcgrathr@google.com</email>
</author>
<published>2025-01-02T01:03:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=62cd050b635cbb201dd08188696448cf5ab23260'/>
<id>62cd050b635cbb201dd08188696448cf5ab23260</id>
<content type='text'>
The .yaml files should live next to the corresponding .h.def
files in libc/include/, rather than next to the implementation of
the tool in libc/utils/hdrgen/.  As with the .h.def files, there
is no need for a yaml/ subdirectory under include/.  This simpler
layout is more natural for maintenance and also simplifies build
integration outside the LLVM CMake build.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The .yaml files should live next to the corresponding .h.def
files in libc/include/, rather than next to the implementation of
the tool in libc/utils/hdrgen/.  As with the .h.def files, there
is no need for a yaml/ subdirectory under include/.  This simpler
layout is more natural for maintenance and also simplifies build
integration outside the LLVM CMake build.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Move hdrgen into utils/ subdirectory (#121256)</title>
<updated>2024-12-30T23:36:53+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>mcgrathr@google.com</email>
</author>
<published>2024-12-30T23:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9abcca5e25296aea49288ad63901f9e0a332dad4'/>
<id>9abcca5e25296aea49288ad63901f9e0a332dad4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Remove old RPC host call extension for GPU (#120800)</title>
<updated>2024-12-21T01:34:05+00:00</updated>
<author>
<name>Joseph Huber</name>
<email>huberjn@outlook.com</email>
</author>
<published>2024-12-21T01:34:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3bbd53ce97059718994cd17f3fd404654e9198cb'/>
<id>3bbd53ce97059718994cd17f3fd404654e9198cb</id>
<content type='text'>
Summary:
This was originally a hacked together function that served to just
implement some features for OpenMP. That has been moved into OpenMP
itself now that we have exported RPC properly. This can now be deleted.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This was originally a hacked together function that served to just
implement some features for OpenMP. That has been moved into OpenMP
itself now that we have exported RPC properly. This can now be deleted.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Use __attribute__((__nothrow__)) for __NOEXCEPT in C (#114653)</title>
<updated>2024-12-17T20:18:37+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>mcgrathr@google.com</email>
</author>
<published>2024-12-17T20:18:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0b91d77bf4e4ff65ebeed90acd141018d9889e0f'/>
<id>0b91d77bf4e4ff65ebeed90acd141018d9889e0f</id>
<content type='text'>
Consistent with glibc headers, where `noexcept` is used in C++
(or `throw()` in older C++ which llvm-libc doesn't support) in
the public function declarations, `__attribute__((__nothrow__))` is
used in C for compilers that support it.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Consistent with glibc headers, where `noexcept` is used in C++
(or `throw()` in older C++ which llvm-libc doesn't support) in
the public function declarations, `__attribute__((__nothrow__))` is
used in C for compilers that support it.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] move pthread macros to dedicated header (#119286)</title>
<updated>2024-12-10T17:00:06+00:00</updated>
<author>
<name>Nick Desaulniers</name>
<email>nickdesaulniers@users.noreply.github.com</email>
</author>
<published>2024-12-10T17:00:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8a25398615e4ad434231edba234db95d111bb6cf'/>
<id>8a25398615e4ad434231edba234db95d111bb6cf</id>
<content type='text'>
so that docgen can find our definitions.

Also eliminate the enums. POSIX is careful to call these "symbolic constants"
rather than specifically whether they are preprocessor macro defines or not.
Enums are useful to expressing mutual exclusion when the enum values are in
distinct enums which can improve type safety. Our enum values weren't using
that pattern though; they were all in one big anonymous enum.

Link:
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/pthread.h.html
Fixes: #88997
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
so that docgen can find our definitions.

Also eliminate the enums. POSIX is careful to call these "symbolic constants"
rather than specifically whether they are preprocessor macro defines or not.
Enums are useful to expressing mutual exclusion when the enum values are in
distinct enums which can improve type safety. Our enum values weren't using
that pattern though; they were all in one big anonymous enum.

Link:
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/pthread.h.html
Fixes: #88997
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][complex] check that cfloat128 is not defined as _Complex long double (#119324)</title>
<updated>2024-12-10T05:48:29+00:00</updated>
<author>
<name>Shourya Goel</name>
<email>shouryagoel10000@gmail.com</email>
</author>
<published>2024-12-10T05:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=52da2db48911aa71fc878470e7052e0b2078110e'/>
<id>52da2db48911aa71fc878470e7052e0b2078110e</id>
<content type='text'>
Fix buildbot errors in #118671</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix buildbot errors in #118671</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply "[libc][windows] start time API implementation (#117775)" (#118886)</title>
<updated>2024-12-05T23:21:03+00:00</updated>
<author>
<name>Schrodinger ZHU Yifan</name>
<email>yifanzhu@rochester.edu</email>
</author>
<published>2024-12-05T23:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e6cf5d2863b77895ae7183952514bedd9e8dde16'/>
<id>e6cf5d2863b77895ae7183952514bedd9e8dde16</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
