Commit Graph

4 Commits

Author SHA1 Message Date
Argyrios Kyrtzidis
628567bfe5 [Frontend] Make it erroneous if no frontend action is specified when invoking the frontend, and update tests.
Swift SVN r21584
2014-08-29 19:17:37 +00:00
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
Ted Kremenek
fad874708e Adjust test cases.
Swift SVN r17964
2014-05-12 22:01:52 +00:00
Ted Kremenek
b285190383 Don't crash when 'swift -frontend' is passed no arguments.
Fixes <rdar://problem/16584079>.

Swift SVN r16200
2014-04-11 05:23:57 +00:00