2019-05-07 14:18:21 +00:00
|
|
|
diff --git a/src/plugins/cpptools/headerpathfilter.cpp b/src/plugins/cpptools/headerpathfilter.cpp
|
2019-11-05 17:00:42 +00:00
|
|
|
index e2d1e6a..1a1d839 100644
|
2019-05-07 14:18:21 +00:00
|
|
|
--- a/src/plugins/cpptools/headerpathfilter.cpp
|
|
|
|
+++ b/src/plugins/cpptools/headerpathfilter.cpp
|
2019-11-05 17:00:42 +00:00
|
|
|
@@ -96,8 +96,8 @@ HeaderPaths::iterator resourceIterator(HeaderPaths &headerPaths, bool isMacOs)
|
2019-05-07 14:18:21 +00:00
|
|
|
{
|
|
|
|
// include/c++, include/g++, libc++\include and libc++abi\include
|
|
|
|
static const QString cppIncludes = R"((.*\/include\/.*(g\+\+|c\+\+).*))"
|
|
|
|
- R"(|(.*libc\+\+\/include))"
|
|
|
|
- R"(|(.*libc\+\+abi\/include))";
|
|
|
|
+ R"(|(.*libc\+\+.*\/include))"
|
|
|
|
+ R"(|(.*libc\+\+abi.*\/include))";
|
|
|
|
static const QRegularExpression includeRegExp("\\A(" + cppIncludes + ")\\z");
|
|
|
|
|
|
|
|
// The same as includeRegExp but also matches /usr/local/include
|