summaryrefslogtreecommitdiff
path: root/src/qdoc/cppcodeparser.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2019-04-05 11:45:26 +0200
committerMartin Smith <martin.smith@qt.io>2019-04-08 11:31:21 +0000
commit713af3ea43c838a3015d00b924cad69191333977 (patch)
tree9a92466e9b4b264b2fd33a8b31b92492687256f2 /src/qdoc/cppcodeparser.cpp
parent745bd6375a2e3351fb88e4afaad8cbb490859458 (diff)
downloadqttools-713af3ea43c838a3015d00b924cad69191333977.tar.gz
qdoc: Turn off clang errors in PCH build without include paths
When the build system can't pass qdoc the include paths to qdoc, qdoc tries to guess reasonable include paths. There has been one case running qdoc on macOS for the QtPlatformHeaders module, where qdoc must try to guess the include paths. The guessed paths are not sufficient, and clang prints a large number of errors caused by missing stuff. This change tells clang not to report errors during the PCH build if qdoc had to guess the include paths. qdoc reports in its log that it guessed the include paths and that it turned off the clang error reporting. Change-Id: I91a4242dcc7d3017d511d969621cc3d673c47963 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/qdoc/cppcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions