summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppsourceprocessor.cpp
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2018-09-17 11:29:32 +0200
committerIvan Donchevskii <ivan.donchevskii@qt.io>2018-09-17 11:24:32 +0000
commit0bd095aa4550eac51d026c96e5128720bf867a41 (patch)
tree3c9a36fc38b603884a8eabcb47c4511fceed91ad /src/plugins/cpptools/cppsourceprocessor.cpp
parent3170d05087f3e1993bef1f9447a8bbd14a32a891 (diff)
downloadqt-creator-0bd095aa4550eac51d026c96e5128720bf867a41.tar.gz
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>
Diffstat (limited to 'src/plugins/cpptools/cppsourceprocessor.cpp')
-rw-r--r--src/plugins/cpptools/cppsourceprocessor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cpptools/cppsourceprocessor.cpp b/src/plugins/cpptools/cppsourceprocessor.cpp
index 54e93ce41a..11f266b6a5 100644
--- a/src/plugins/cpptools/cppsourceprocessor.cpp
+++ b/src/plugins/cpptools/cppsourceprocessor.cpp
@@ -138,10 +138,10 @@ void CppSourceProcessor::setHeaderPaths(const ProjectExplorer::HeaderPaths &head
for (int i = 0, ei = headerPaths.size(); i < ei; ++i) {
const ProjectExplorer::HeaderPath &path = headerPaths.at(i);
- if (path.type == HeaderPathType::User || path.type == HeaderPathType::System)
- m_headerPaths.append({cleanPath(path.path), path.type});
- else
+ if (path.type == HeaderPathType::Framework )
addFrameworkPath(path);
+ else
+ m_headerPaths.append({cleanPath(path.path), path.type});
}
}