@@ -188,12 +188,6 @@ int main(int argc, char **argv) {
188
188
llvm::cl::opt<std::string> ModuleCachePath (
189
189
" module-cache-path" , llvm::cl::desc (" Clang module cache path" ));
190
190
191
- llvm::cl::list<std::string> ImportPaths (
192
- " I" , llvm::cl::desc (" add a directory to the import search path" ));
193
-
194
- llvm::cl::list<std::string> FrameworkPaths (
195
- " F" , llvm::cl::desc (" add a directory to the framework search path" ));
196
-
197
191
llvm::cl::opt<std::string> DumpDeclFromMangled (
198
192
" decl-from-mangled" , llvm::cl::desc (" dump decl from mangled names list" ));
199
193
@@ -207,8 +201,6 @@ int main(int argc, char **argv) {
207
201
llvm::cl::ParseCommandLineOptions (argc, argv);
208
202
// Unregister our options so they don't interfere with the command line
209
203
// parsing in CodeGen/BackendUtil.cpp.
210
- FrameworkPaths.removeArgument ();
211
- ImportPaths.removeArgument ();
212
204
ModuleCachePath.removeArgument ();
213
205
DumpModule.removeArgument ();
214
206
DumpTypeFromMangled.removeArgument ();
@@ -255,12 +247,6 @@ int main(int argc, char **argv) {
255
247
256
248
Invocation.setModuleName (" lldbtest" );
257
249
Invocation.getClangImporterOptions ().ModuleCachePath = ModuleCachePath;
258
- Invocation.setImportSearchPaths (ImportPaths);
259
- std::vector<swift::SearchPathOptions::FrameworkSearchPath> FramePaths;
260
- for (const auto &path : FrameworkPaths) {
261
- FramePaths.push_back ({path, /* isSystem=*/ false });
262
- }
263
- Invocation.setFrameworkSearchPaths (FramePaths);
264
250
265
251
if (CI.setup (Invocation))
266
252
return 1 ;
0 commit comments