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

v5 clang-format breaks tpl (Cheetah template) files

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Build
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      On v5, clang-format will make changes to tpl files that break them and cause compiles to fail. While this is mitigated in SERVER-94150 for manual invocations of buildscripts/clang_format.py, there is no mitigation yet for VSCode automatically applying changes as part of saving changes to a tpl file.

      Investigate ways to change the clang-format config such that it will not break tpl files. If that doesn't pan out, identify and implement a mitigation that prevents VSCode from breaking the tpl files.

            Assignee:
            Unassigned Unassigned
            Reporter:
            james.bronsted@mongodb.com James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: