Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10681

s_long_lines complains about format_config_def.c which is an autogenerated file.

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • 5
    • StorEng - Defined Pipeline

      format_config_def.c is auto generated and can trip s_long_lines  when regenerated. We should find a solution to that there are maybe three options:

      • Ignore the file in s_long_lines ideally using the same clang_format.list file so we don't have to maintain additional ignore files.
      • Fix the generation script to generate files with less than 100 character length lines.
      • Remove the file from clang_format.list so clang format resolves the issue.

      Each solution has pros and cons, part of the work on this ticket will be determining the best path forward.

      Scope:

      • Determine which solution works best
      • Implement

       

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: