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

ClangFormat plugin can't be built with system clang

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.10.0
    • C/C++/Obj-C++ Support
    • Debian unstable
    • Linux/X11

    Description

      It seems that the current ClangFormat plugin can't be built with a system clang installation. It uses the define  KEEP_LINE_BREAKS_FOR_NON_EMPTY_LINES_BACKPORTED for something that seems not even yet accepted in clang's upstream git master https://reviews.llvm.org/D53072

       

      Even more, I can't see where the definition will come from from the embedded clang/llvm code either, so maybe this is broken even for full embedded sources too?

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-22923
          # Subject Branch Project Status CR V

          Activity

            People

              bubke Marco Bubke
              lisandropm Lisandro Damián Nicanor Pérez Meyer
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes