[ClangImporter] Skip importing values for CGFloat typedefs on top of CGFloats direct

This commit is contained in:
Kuba Mracek
2025-07-22 10:10:15 -07:00
parent 78552bb258
commit 6ec280d4e1
7 changed files with 69 additions and 12 deletions

View File

@@ -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