2019-05-07 14:18:21 +00:00
|
|
|
diff --git a/src/plugins/cpptools/headerpathfilter.cpp b/src/plugins/cpptools/headerpathfilter.cpp
|
2019-12-21 16:28:12 +00:00
|
|
|
index b656f8e1..a830d3c3 100644
|
2019-05-07 14:18:21 +00:00
|
|
|
--- a/src/plugins/cpptools/headerpathfilter.cpp
|
|
|
|
+++ b/src/plugins/cpptools/headerpathfilter.cpp
|
2019-12-21 16:28:12 +00:00
|
|
|
@@ -124,8 +124,8 @@ HeaderPaths::iterator resourceIterator(HeaderPaths &headerPaths)
|
2019-05-07 14:18:21 +00:00
|
|
|
{
|
|
|
|
// include/c++, include/g++, libc++\include and libc++abi\include
|
2019-12-21 16:28:12 +00:00
|
|
|
static const QString cppIncludes = R"((.*/include/.*(g\+\+|c\+\+).*))"
|
|
|
|
- R"(|(.*libc\+\+/include))"
|
|
|
|
- R"(|(.*libc\+\+abi/include))"
|
2019-05-07 14:18:21 +00:00
|
|
|
+ R"(|(.*libc\+\+.*\/include))"
|
|
|
|
+ R"(|(.*libc\+\+abi.*\/include))";
|
2019-12-21 16:28:12 +00:00
|
|
|
R"(|(/usr/local/include))";
|
2019-05-07 14:18:21 +00:00
|
|
|
static const QRegularExpression includeRegExp("\\A(" + cppIncludes + ")\\z");
|
|
|
|
|