Message ID | 20220331135647.1686375-1-marcandre.lureau@redhat.com |
---|---|
State | New |
Headers | show |
Series | [1/2] doc/style: CLang -> Clang | expand |
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com> On 3/31/22 15:56, marcandre.lureau@redhat.com wrote: > From: Marc-André Lureau <marcandre.lureau@redhat.com> > > It's not the way it is usually written (see https://clang.llvm.org/). > > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> > --- > docs/devel/style.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/docs/devel/style.rst b/docs/devel/style.rst > index 9e66d133e15b..7ddd42b6c2c8 100644 > --- a/docs/devel/style.rst > +++ b/docs/devel/style.rst > @@ -522,7 +522,7 @@ documented in the GNU Compiler Collection manual starting at version 4.0. > Automatic memory deallocation > ============================= > > -QEMU has a mandatory dependency either the GCC or CLang compiler. As > +QEMU has a mandatory dependency on either the GCC or the Clang compiler. As > such it has the freedom to make use of a C language extension for > automatically running a cleanup function when a stack variable goes > out of scope. This can be used to simplify function cleanup paths,
On 31/3/22 15:56, marcandre.lureau@redhat.com wrote: > From: Marc-André Lureau <marcandre.lureau@redhat.com> > > It's not the way it is usually written (see https://clang.llvm.org/). > > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> > --- > docs/devel/style.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
diff --git a/docs/devel/style.rst b/docs/devel/style.rst index 9e66d133e15b..7ddd42b6c2c8 100644 --- a/docs/devel/style.rst +++ b/docs/devel/style.rst @@ -522,7 +522,7 @@ documented in the GNU Compiler Collection manual starting at version 4.0. Automatic memory deallocation ============================= -QEMU has a mandatory dependency either the GCC or CLang compiler. As +QEMU has a mandatory dependency on either the GCC or the Clang compiler. As such it has the freedom to make use of a C language extension for automatically running a cleanup function when a stack variable goes out of scope. This can be used to simplify function cleanup paths,