Commit Graph

4 Commits

Author SHA1 Message Date
Jordan Rose
d380e0e69e Fix clang-args-diags.swift test for public Clang's output.
Public Clang calls itself "Clang"; Apple Clang calls itself "Apple LLVM".
The test doesn't actually care what the name is; it's just trying to make
sure that the importer is failing for the reason we expect, rather than
something unrelated.

rdar://problem/23506925
2015-11-16 14:02:33 -08:00
Michael Gottesman
576e656896 Disable test clang-args-diags.swift until Jordan has a chance to look at it.
rdar://23506925
2015-11-11 16:07:42 -08:00
Jordan Rose
30c65eff7e [ClangImporter] Use Clang's driver to handle options, not its frontend.
This is most important for -Xcc options, which shouldn't be dependent on
the underlying Clang version, but it also affects things like target features
that Clang knows how to compute correctly and Swift, well, doesn't.

rdar://problem/17687572

Swift SVN r22448
2014-10-01 23:55:35 +00:00
Argyrios Kyrtzidis
da95aadb4b [ClangImporter] Make sure we don't crash if clang emits diagnostics because of the provided clang compiler arguments.
rdar://18068354

Swift SVN r21823
2014-09-10 01:18:32 +00:00