Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 7.0.0, Qt Creator 7.0.1
-
44b6850232 (qtsdk/qtsdk/master)
Description
On macOS. Either ARM Mac, or iOS target, or ARM Android target:
When including Qt headers that implicitly include "qsimd.h", like including <QtCore> or <QtTest>, Clangd complains that 'arm_neon.h' is not found, potentially resulting in follow-up code model issues.
'arm_neon.h' is part of the Clang installation in /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include/arm_neon.h
It is not included in our shipped Clang headers.
Workarounds:
- copying arm_neon.h from Xcode into our clang resources folder
- editing compile_commands.json to have "-isystem", "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.0.0/include" as the last system include
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-27457 Clangd reports wrong semantic issues under Android/iOS " .. is a protected member of ... "
- Closed
- relates to
-
QTCREATORBUG-27487 Missing files in the built-in clang-14.
- Closed
- mentioned in
-
Page Loading...