[Spice-devel] [PATCH v2 00/13] Updates to the style guide (v2)

Christophe de Dinechin christophe at dinechin.org
Wed Feb 7 11:07:12 UTC 2018


From: Christophe de Dinechin <dinechin at redhat.com>

Changes in v2:

- This splits the earlier patch about the style guide into its individual
  components. This also clarifies the intent of some of the changes in the
  commit messages.

- Fixed typos

Christophe de Dinechin (13):
  Add .clang-format with defaults matching what's specified in the style
    guide
  Update copyright date
  Specify file extensions for C++ and Obj-C
  Rephrase assertion section
  Rephrase section about constants
  Rephrase section on short functions for readability
  Fix grammatical error
  Remove confusing example
  Add mention of fall-through comments
  Fix indentation in macro example
  Add mention of header guards
  Add guidelines about warnings and whitespaces
  Rewrite the style guide for headers

 .clang-format        |  23 +++++++++++
 docs/spice_style.txt | 112 ++++++++++++++++++++++++++++++++++++---------------
 2 files changed, 103 insertions(+), 32 deletions(-)
 create mode 100644 .clang-format

-- 
2.13.5 (Apple Git-94)



More information about the Spice-devel mailing list