Commit Graph

3 Commits

Author SHA1 Message Date
Sean Callanan
2c50b0ca48 swift -frontend "" shouldn't enter the REPL by default.
This patch fixes a problem where a CompilerInvocation
with no arguments would set the LangaugeOpts etc. up for
the deprecated-integrated-repl, including setting the
module name etc.  Now this only happens if you explicitly
invoke swift -frontend -repl.

Updated testcases that care, and added a new testcase to
ensure that an error is properly generated.

<rdar://problem/17918172>


Swift SVN r21537
2014-08-28 18:38:13 +00:00
Greg Parker
fd28d2c62b [test] Change the -Xllvm test to use more stable llvm options.
Swift SVN r21467
2014-08-26 23:25:56 +00:00
Greg Parker
ea87c75c1d [test] Add a test that runs swift -Xllvm.
This catches code that tries to use the llvm::cl interface. Those options 
are used by -Xllvm's processing and must not be interfered with.


Swift SVN r20146
2014-07-18 06:59:35 +00:00