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

-march=armv8-a in compile_commands.json breaks Clang's code model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.9.0-beta1
    • C/C++/Obj-C++ Support
    • None

      In Android P many generated compile commands has -march=armv8-a. This flag seems to break libclang's parsing. When I manually remove -march=armv8-a from compile_commands.json, the code model works again.

      Expected:
      Sources with highlighted syntax, warnings, code completion.

      Actual:
      Nothing of the above.

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

            kandeler Christian Kandeler
            hugoh Hugo Holgersson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes