Added new Frontend flag to remove -fmodules-validate-system-headers from clang importer flags

This commit is contained in:
Maxwell Swadling
2016-10-15 23:07:30 -07:00
parent 464a47430d
commit 29088d9490
4 changed files with 13 additions and 1 deletions

View File

@@ -965,6 +965,8 @@ static bool ParseClangImporterArgs(ClangImporterOptions &Opts,
Opts.DisableSwiftBridgeAttr |= Args.hasArg(OPT_disable_swift_bridge_attr);
Opts.DisableModulesValidateSystemHeaders |= Args.hasArg(OPT_disable_modules_validate_system_headers);
return false;
}