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

clang_format.py allows mixed indentation

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • 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.

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: