Skip to content

Commit da8151c

Browse files
authored
Revert changes to Paths.cpp
1 parent 2abbea3 commit da8151c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Interpreter/Paths.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ void CopyIncludePaths(const clang::HeaderSearchOptions& Opts,
175175
if (withFlags) incpaths.push_back("-isystem");
176176
break;
177177

178+
case frontend::IndexHeaderMap:
179+
if (!withSystem) continue;
180+
if (withFlags) incpaths.push_back("-index-header-map");
181+
if (withFlags) incpaths.push_back(E.IsFramework? "-F" : "-I");
182+
break;
183+
178184
case frontend::CSystem:
179185
if (!withSystem) continue;
180186
if (withFlags) incpaths.push_back("-c-isystem");

0 commit comments

Comments
 (0)