Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15604

clang-format is broken(?)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 3.6.1
    • Qt Creator 3.6.0
    • All Other Issues
    • None
    • e4f9d21d2879fcbf68331de8099e00aca08649e4

    Description

      When I try to format code with clang-format I got this message:

      Error in Beautifier: /usr/bin/clang-format-3.6: YAML:1:2: error: Map key must be a scalar
      {IndentWidth: 4ColumnLimit: 120}
       ^
      

      Seems this patch fixes this issue - http://pastebin.com/m0EWcqZV

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lykurg Lorenz Haas
            dimanne DimanNe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes