[libvirt PATCH] Fix capitalization "CLang" -> "Clang"

Andrea Bolognani posted 1 patch 3 years, 5 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20201112140222.329557-1-abologna@redhat.com
config.h                       | 2 +-
docs/programming-languages.rst | 2 +-
meson.build                    | 4 ++--
tests/qemusecuritymock.c       | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
[libvirt PATCH] Fix capitalization "CLang" -> "Clang"
Posted by Andrea Bolognani 3 years, 5 months ago
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
Pushed as trivial.

 config.h                       | 2 +-
 docs/programming-languages.rst | 2 +-
 meson.build                    | 4 ++--
 tests/qemusecuritymock.c       | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/config.h b/config.h
index 0f12b728b6..2ee7f7bff6 100644
--- a/config.h
+++ b/config.h
@@ -26,7 +26,7 @@
 #endif
 
 #ifndef __GNUC__
-# error "Libvirt requires GCC >= 4.8, or CLang"
+# error "Libvirt requires GCC >= 4.8, or Clang"
 #endif
 
 /*
diff --git a/docs/programming-languages.rst b/docs/programming-languages.rst
index 9d7dbdcd37..80a997f63b 100644
--- a/docs/programming-languages.rst
+++ b/docs/programming-languages.rst
@@ -11,7 +11,7 @@ some of the existing languages.
 The preferred languages at this time are:
 
 -  C - for the main libvirt codebase. Dialect supported by
-   GCC/CLang only.
+   GCC/Clang only.
 -  Python - for supporting build scripts / tools. Code must run
    with both version 2.7 and 3.x at this time.
 
diff --git a/meson.build b/meson.build
index 5fec644fc7..8133d094c8 100644
--- a/meson.build
+++ b/meson.build
@@ -401,8 +401,8 @@ cc_flags += [
   # We do "bad" function casts all the time for event callbacks
   '-Wno-cast-function-type',
 
-  # CLang incorrectly complains about dup typedefs win gnu99 mode
-  # so use this CLang-specific arg to keep it quiet
+  # Clang incorrectly complains about dup typedefs win gnu99 mode
+  # so use this Clang-specific arg to keep it quiet
   '-Wno-typedef-redefinition',
 
   # Clang complains about casts in G_DEFINE_TYPE(...)
diff --git a/tests/qemusecuritymock.c b/tests/qemusecuritymock.c
index d6858dc821..1fa4e522cc 100644
--- a/tests/qemusecuritymock.c
+++ b/tests/qemusecuritymock.c
@@ -183,7 +183,7 @@ virFileGetXAttrQuiet(const char *path,
  * return value from virFileGetXAttrQuiet gets scrambled
  * if we mock virFileGetXAttrQuiet, returning -1 instead
  * of 0 despite succeeding. This happens on FreeBSD 11/12
- * hosts with CLang, and is suspected to be some kind of
+ * hosts with Clang, and is suspected to be some kind of
  * compiler optimization. By mocking this function too we
  * can workaround it.
  */
-- 
2.26.2