clang_format.py allows mixed indentation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: 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.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
              Reporter:
              Marcos José Grillo Ramirez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: