From 0bd095aa4550eac51d026c96e5128720bf867a41 Mon Sep 17 00:00:00 2001 From: Ivan Donchevskii Date: Mon, 17 Sep 2018 11:29:32 +0200 Subject: 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 --- src/plugins/cpptools/cppsourceprocessor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/cpptools/cppsourceprocessor.cpp') 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}); } } -- cgit v1.2.1