Commit Graph

8 Commits

Author SHA1 Message Date
practicalswift
6e3b700b44 Fix typos. 2015-12-23 00:31:13 +01:00
Jordan Rose
660fdeba7f Revert "Disable test that will fail due to extra imports that are needed to unbreak the build."
I missed one for rdar://problem/23511008.

This reverts commit 7eb6f46d48.
2015-11-13 20:30:14 -08:00
Michael Gottesman
7eb6f46d48 Disable test that will fail due to extra imports that are needed to unbreak the build. 2015-11-12 16:33:13 -08:00
Dmitri Hrybenko
6058d291ca CMake: allow the SDK overlay to be built separately from the compiler
and the stdandard library

rdar://19703353

Swift SVN r25139
2015-02-10 21:57:03 +00:00
Graham Batty
83b4384fac Update test flags for linux failures and support.
Also removed the sdk 'feature' in favour of the more specific
objc_interop.

Swift SVN r24856
2015-01-30 21:31:48 +00:00
Dmitri Hrybenko
0a2593527e Add a target triple to all tests that use %sdk
These tests would assume OS X otherwise, and will fail because the SDK
is a non-OSX one.

Swift SVN r23110
2014-11-05 04:18:06 +00:00
Jordan Rose
9ddf57f7ba Don't treat missing imports as a fatal error in REPL mode.
We don't want typos in import statements to take down the whole REPL, but we
/do/ want the REPL to be honoring fatal errors that effectively take down the
ASTContext.

This doesn't (yet) apply to the real LLDB REPL, which does not use
SourceFileKind::REPL for its input. The right option to test there is
LangOpts.DebuggerSupport, but that's currently being set for Playgrounds as
well. I've filed <rdar://problem/18090611> for LLDB to adjust their input.

Part of <rdar://problem/17994094>

Swift SVN r21383
2014-08-21 22:36:22 +00:00
Jordan Rose
a36be37c4f [ClangImporter] Check for the existence of a submodule before loading it.
This regresses a bit on the diagnostic when a submodule is missing, as well
as missing out on Clang's automatic typo correction, but it does avoid putting
the Clang CompilerInstance into an error state, which is important for the
REPL. It's also not entirely clear that Clang had the right behavior in this
case either---we'd get a module back, but if the particular submodule we
asked for didn't exist we might get its parent. We can revisit this later.

Prerequisite for <rdar://problem/17994094>.

Swift SVN r21333
2014-08-21 01:54:22 +00:00