forked from qt-creator/qt-creator
ProjectExplorer: Rename compiler includes from System to BuiltIn
System include are those used with -isystem keyword, built-in includes on the other hand come from compiler and always follow in the end of the include list (after system includes). Change-Id: I95c2fec36d2e5b43f014fe0a88d59c6769edfa1f Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -116,12 +116,12 @@ private:
|
||||
if (!m_tcInfo.headerPathsRunner)
|
||||
return; // No compiler set in kit.
|
||||
|
||||
const ProjectExplorer::HeaderPaths systemHeaderPaths
|
||||
const ProjectExplorer::HeaderPaths builtInHeaderPaths
|
||||
= m_tcInfo.headerPathsRunner(m_flags.commandLineFlags,
|
||||
m_tcInfo.sysRootPath);
|
||||
|
||||
ProjectExplorer::HeaderPaths &headerPaths = m_projectPart.headerPaths;
|
||||
for (const ProjectExplorer::HeaderPath &header : systemHeaderPaths) {
|
||||
for (const ProjectExplorer::HeaderPath &header : builtInHeaderPaths) {
|
||||
const ProjectExplorer::HeaderPath headerPath{header.path, header.type};
|
||||
if (!headerPaths.contains(headerPath))
|
||||
headerPaths.push_back(headerPath);
|
||||
|
Reference in New Issue
Block a user