[Frontend] Introduce "-Xclang" option to pass extra flags to the clang importer.

Swift SVN r9199
This commit is contained in:
Argyrios Kyrtzidis
2013-10-11 16:28:24 +00:00
parent 7c1bc944a1
commit b4f0a4bec0
2 changed files with 7 additions and 0 deletions

View File

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