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

FTBFS: error: cannot convert "bool" to "clang::format::FormatStyle::ShortIfStyle" in assignment

    XMLWordPrintable

Details

    • 8c7dd57645ab30f760846f7cbf57121d763d8473

    Description

      With LLVM 9.0.0:

      clangformatutils.cpp: In function ‘clang::format::FormatStyle ClangFormat::qtcStyle()’:
      clangformatutils.cpp:63:49: error: cannot convert "bool" to "clang::format::FormatStyle::ShortIfStyle" in assignment
         63 |     style.AllowShortIfStatementsOnASingleLine = false;
            |                                                 ^~~~~
      

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes