mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ClangImporter] Skip importing values for CGFloat typedefs on top of CGFloats direct
This commit is contained in:
@@ -2142,6 +2142,9 @@ static bool ParseClangImporterArgs(ClangImporterOptions &Opts, ArgList &Args,
|
||||
Opts.DisableSourceImport |=
|
||||
Args.hasArg(OPT_disable_clangimporter_source_import);
|
||||
|
||||
if (Args.hasArg(OPT_disable_const_value_importing))
|
||||
Opts.EnableConstValueImporting = false;
|
||||
|
||||
Opts.ClangImporterDirectCC1Scan |=
|
||||
Args.hasArg(OPT_experimental_clang_importer_direct_cc1_scan);
|
||||
// Forward the FrontendOptions to clang importer option so it can be
|
||||
|
||||
Reference in New Issue
Block a user