mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
16 lines
896 B
Diff
16 lines
896 B
Diff
diff --git a/src/plugins/cpptools/headerpathfilter.cpp b/src/plugins/cpptools/headerpathfilter.cpp
|
|
index b656f8e1..a830d3c3 100644
|
|
--- a/src/plugins/cpptools/headerpathfilter.cpp
|
|
+++ b/src/plugins/cpptools/headerpathfilter.cpp
|
|
@@ -124,8 +124,8 @@ HeaderPaths::iterator resourceIterator(HeaderPaths &headerPaths)
|
|
{
|
|
// 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))";
|
|
R"(|(/usr/local/include))";
|
|
static const QRegularExpression includeRegExp("\\A(" + cppIncludes + ")\\z");
|
|
|