ClangTools: Do not include our wrapped Qt headers

These are only necessary for the code model and can prevent clazy from
finding certain issues.

Fixes: QTCREATORBUG-24845
Change-Id: I04ba6703812918c39ebbde1dbac5af85fe18622d
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2020-10-28 12:10:55 +01:00
parent d2ebc16b92
commit 7b6ab79f3e
3 changed files with 4 additions and 3 deletions

View File

@@ -298,7 +298,8 @@ void CompilerOptionsBuilder::enableExceptions()
void CompilerOptionsBuilder::insertWrappedQtHeaders()
{
insertWrappedHeaders(wrappedQtHeadersIncludePath());
if (m_useTweakedHeaderPaths == UseTweakedHeaderPaths::Yes)
insertWrappedHeaders(wrappedQtHeadersIncludePath());
}
void CompilerOptionsBuilder::insertWrappedMingwHeaders()