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

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes