Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-11854

[virtio-win] Create configs for code style checking

    • rhel-sst-virtualization-windows
    • ssg_virtualization
    • 8
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • Pass
    • None
    • None

      Create two .clang-format configs that cover Linux headers and Windows drivers. Investigate how to use both files in parallel in one repo for different files

      In https://github.com/virtio-win/kvm-guest-drivers-windows repo we have 2 code style:

      1. for Windows drivers
      2. for Linux common source

       

      clang format tools style detector https://clangpowertools.com/clang-format-editor.html doesn't seem to work with more than one code sample

      unformat https://github.com/johnmcfarlane/unformat slow

      clang-unformat https://github.com/alandefreitas/clang-unformat It fells to new to me to trust

       

      https://github.com/virtio-win/kvm-guest-drivers-windows/blob/master/contributing.md#use-a-consistent-coding-style

       

              kkostiuk Konstantin Kostiuk
              kkostiuk Konstantin Kostiuk
              Virt Windows SST Bugs Virt Windows SST Bugs
              Qianqian Zhu Qianqian Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: