mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
1eafac2ac6
Added optional withClangPlugins to disable clang plugins compilation and, therefore, vendor clang dependency.
14 lines
557 B
Diff
14 lines
557 B
Diff
diff --git a/src/plugins/cpptools/headerpathfilter.cpp b/src/plugins/cpptools/headerpathfilter.cpp
|
|
index e2d1e6a..1a1d839 100644
|
|
--- a/src/plugins/cpptools/headerpathfilter.cpp
|
|
+++ b/src/plugins/cpptools/headerpathfilter.cpp
|
|
@@ -134,8 +134,6 @@ void removeClangSystemHeaderPaths(HeaderPaths &headerPaths)
|
|
|
|
void HeaderPathFilter::tweakHeaderPaths()
|
|
{
|
|
- removeClangSystemHeaderPaths(builtInHeaderPaths);
|
|
-
|
|
auto split = resourceIterator(builtInHeaderPaths,
|
|
projectPart.toolChainTargetTriple.contains("darwin"));
|
|
|