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

ClangFormat plugin can't be built with system clang

XMLWordPrintable

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

      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?

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes