mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Frontend] Introduce "-Xclang" option to pass extra flags to the clang importer.
Swift SVN r9199
This commit is contained in:
@@ -116,6 +116,10 @@ bool CompilerInvocation::parseArgs(ArrayRef<const char *> Args,
|
||||
setParseStdlib();
|
||||
break;
|
||||
|
||||
case OPT_Xclang:
|
||||
ExtraClangArgs.push_back(InputArg->getValue());
|
||||
break;
|
||||
|
||||
case OPT_debug_constraints:
|
||||
LangOpts.DebugConstraintSolver = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user