File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -174,29 +174,6 @@ void CopyIncludePaths(const clang::HeaderSearchOptions& Opts,
174
174
if (!withSystem) continue ;
175
175
if (withFlags) incpaths.push_back (" -isystem" );
176
176
break ;
177
- // Option was removed in llvm 20. Git log message below.
178
- // git log --grep="index-header"
179
- // commit 19b4f17d4c0ae12725050d09f04f85bccc686d8e
180
- // Author: Jan Svoboda <jan_svoboda@apple.com>
181
- // Date: Thu Oct 31 16:04:35 2024 -0700
182
- //
183
- // [clang][lex] Remove `-index-header-map` (#114459)
184
- //
185
- // This PR removes the `-index-header-map` functionality from Clang.
186
- // AFAIK this was only used internally at Apple and is now dead code.
187
- // The main motivation behind this change is to enable the removal of
188
- // `HeaderFileInfo::Framework` member and reducing the size of that
189
- // data structure.
190
- //
191
- // rdar://84036149
192
-
193
- #if CLANG_VERSION_MAJOR < 20
194
- case frontend::IndexHeaderMap:
195
- if (!withSystem) continue ;
196
- if (withFlags) incpaths.push_back (" -index-header-map" );
197
- if (withFlags) incpaths.push_back (E.IsFramework ? " -F" : " -I" );
198
- break ;
199
- #endif
200
177
201
178
case frontend::CSystem:
202
179
if (!withSystem) continue ;
You can’t perform that action at this time.
0 commit comments