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

Clang code model failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.9.2
    • C/C++/Obj-C++ Support
    • None
    • Linux/X11

      Getting the following error, on an empty file with just

      #include <QObject>
      QObject obj;
      

      Parsing /home/alevy/dev/score/src/lib/score/graphics/RectItem.cpp: 0.0006 (100.0%) 0.0001 (100.0%) 0.0008 (100.0%) 0.0008 (100.0%)
      error: retain documentation comments from system headers in the AST was disabled in PCH file but is currently enabled
      Parsing /home/alevy/dev/score/src/lib/score/graphics/RectItem.cpp failed: CXError_ASTReadError
      Reparsing /home/alevy/dev/score/src/lib/score/graphics/RectItem.cpp failed: 3

      Tried to enable / disable the "Disable PCHs" toggle in the QTC code model settings, and to change the clang model warnings configuration. Other (real, complex) files in the same project work fine.

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

            kosjar Nikolai Kosjar
            jcelerier Jean-Michaƫl Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes