Commit Graph

54 Commits

Author SHA1 Message Date
Jordan Rose
0f71586952 [ClangImporter] Start importing Objective-C references using UncheckedOptional.
This is hidden behind the frontend flag -enable-objc-optional. Use -Xfrontend
when invoking the Swift driver.

Part of <rdar://problem/15189135>

Swift SVN r14332
2014-02-25 02:04:02 +00:00
Connor Wakamo
e4de1a1654 [ClangImporter] Add OverrideResourceDir to ClangImporterOptions.
Nothing sets this yet, but this matches existing behavior.

Swift SVN r11238
2013-12-13 04:52:59 +00:00
Connor Wakamo
0165a5017a Put ClangImporterOptions into the swift namespace.
Swift SVN r11191
2013-12-12 18:03:07 +00:00
Connor Wakamo
04bdf73b91 [frontend] Move options for controlling the behavior of the Clang importer into a new ClangImporterOptions class.
Added a new ClangImporterOptions class which wraps the ModuleCachePath and ExtraArgs for the Clang importer.
Added a new ParseClangImporterArgs static function which fills in the passed-in ClangImporterOptions.
Updated CompilerInvocation and CompilerInvocation::parseArgs() to use ClangImporterOptions and ParseClangImporterArgs, respectively.

Swift SVN r11180
2013-12-12 03:53:20 +00:00