Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46620

clang_format.py allows mixed indentation

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Build
    • ALL
      • Change a correct 4 space indentation for a tab on a jstest
      • Run buildscripts/clang_format.py format
      • Check that the wrong indentation was not changed.

      Before submitting any code to the commit queue, it is recommended to run the clang format utility, however, a tab indentation was not replaced on a jstest file, even though a configuration parameter is set on the .clang-format file:

      https://github.com/mongodb/mongo/blob/1ff7ccd082d3290d13b1b540f97bdc1e33f29ad6/.clang-format#L232

            Assignee:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: