Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-7108

Disable reordering of order sensitive #include sequences by clangformat

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 38
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      DEV-38-RELEASE
    • Affect Type:
      Userdefined

      Description

      Some #include sequences like

      #include <shlguid.h>
      #include <shlobj.h>

      should always go in this order, but clangformat re-orders them alphabetically.

      This re-ordering should be disabled:

      // clang-format off
      #include <shlguid.h>
      #include <shlobj.h>
      // clang-format on

       

        Attachments

          Activity

            People

            Assignee:
            yalgaer Yuliya Algaer
            Reporter:
            yalgaer Yuliya Algaer
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: