Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 4.8.1, Qt Creator 4.9.0-beta1
-
None
Description
When one of the included headers includes a non-existing header, code model stops parsing all headers.
Attached is an example project displaying the behavior. `header2.h` includes a non-existent header. If `header.h` is included first, everything works fine. If `header2.h` is included first, a struct defined in `header.h` shows up as "incomplete type" according to the analyzer.
Screenshots also attached.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-21892 Clang Code Model: False Positive: Semantic Issue
- Closed