Skip to contentSkip to conversation

doc/style: CLang -> Clang

PATCH In review [email protected] 3 participants 5 messages Mar 31, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 doc/style: CLang -> Clang

From: Marc-André Lureau <[email protected]>

It's not the way it is usually written (see https://clang.llvm.org/).

---
 docs/devel/style.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/devel/style.rst +1 -1
index 9e66d133e15b..7ddd42b6c2c8 100644
@@ -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,
Signature · 1 line
2.35.1.693.g805e0a68082a
#1 lore raw

PATCH 2/2 doc/build-platforms: document supported compilers

From: Marc-André Lureau <[email protected]>

According to our configure checks, this is the list of supported compilers.

---
 docs/about/build-platforms.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)
docs/about/build-platforms.rst +10 -0
index c29a4b8fe649..1980c5d2476f 100644
@@ -92,6 +92,16 @@ hosted on Linux (Debian/Fedora).
 The version of the Windows API that's currently targeted is Vista / Server
 2008.
 
+Supported compilers
+-------------------
+
+To compile, QEMU requires either:
+
+- GCC >= 7.4.0
+- Clang >= 6.0
+- XCode Clang >= 10.0
+
+
 .. _HomeBrew: https://brew.sh/
 .. _MacPorts: https://www.macports.org/
 .. _Repology: https://repology.org/
Signature · 1 line
2.35.1.693.g805e0a68082a
Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] doc/build-platforms: document supported compilers

Quoted 31 lines · On 3/31/22 15:56, [email protected] wrote:

From: Marc-André Lureau <[email protected]>

According to our configure checks, this is the list of supported compilers.

---
  docs/about/build-platforms.rst | 10 ++++++++++
  1 file changed, 10 insertions(+)
docs/about/build-platforms.rst +10 -0
index c29a4b8fe649..1980c5d2476f 100644
@@ -92,6 +92,16 @@ hosted on Linux (Debian/Fedora).
  The version of the Windows API that's currently targeted is Vista / Server
  2008.
 
+Supported compilers
+-------------------
+
+To compile, QEMU requires either:
+
+- GCC >= 7.4.0
+- Clang >= 6.0
+- XCode Clang >= 10.0
+
+
  .. _HomeBrew: https://brew.sh/
  .. _MacPorts: https://www.macports.org/
  .. _Repology: https://repology.org/
Reviewed-by on v1 1/2
#3 lore raw
In reply to [email protected]
Quoted 22 lines · On 3/31/22 15:56, [email protected] wrote:

From: Marc-André Lureau <[email protected]>

It's not the way it is usually written (see https://clang.llvm.org/).

---
  docs/devel/style.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
docs/devel/style.rst +1 -1
index 9e66d133e15b..7ddd42b6c2c8 100644
@@ -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,