Commit Graph

24 Commits

Author SHA1 Message Date
Saleem Abdulrasool
9ba7bf78db Interop: use new target-clangxx for building C++ code
This enables control over the C++ flags used during testing for the C++
interop from a single location rather than having to alter all the
tests.
2021-01-12 08:29:24 -08:00
Saleem Abdulrasool
df9d1e815f Interop/Cxx: explicitly require C++ for modules
The C++ interop modules require C++ support.  Explicitly require C++ as
a feature when building these modules.  This has no impact on the
changes as all the tests enable C++ already.
2021-01-06 16:59:42 -08:00
Erik Eckstein
4aa99a2dd0 SILPrinter: print linkage for external globals.
Unlike SIL functions, there is no way to distinguish a global declaration from a global definition - other than the linkage.
2020-06-22 16:49:26 +02:00
Dmitri Gribenko
762720e4c7 Merge pull request #31400 from hlopko/pretty-print-static-vars-in-sil
[CxxInterop] Add C++ demangled name for globals/static member variables to SIL
2020-05-01 00:14:17 +02:00
Dmitri Gribenko
105c8f96b1 Merge pull request #31441 from hlopko/header-guards
Add header guards to headers in test/interop
2020-04-30 20:51:07 +02:00
Marcel Hlopko
45509cd885 Add // clang name: Foo::bar comment to globals/functions/static member variables 2020-04-30 16:55:14 +02:00
Marcel Hlopko
2fbcf184ed Add header guards to test/Interop 2020-04-30 16:13:33 +02:00
Marcel Hlopko
edbd902a90 Change C++ extension for test inputs from .cc to .cpp 2020-04-30 15:34:16 +02:00
Marcel Hlopko
883262771b Expose C++ static members as Swift static properties 2020-04-23 15:33:43 +02:00
Marcel Hlopko
95a59d9dd5 Make irgen tests mac friendly 2020-04-21 16:57:04 +02:00
Marcel Hlopko
8af9ca08c1 Make irgen test windows friendly 2020-04-21 16:48:24 +02:00
Marcel Hlopko
937b1e2ba2 Trust -fPIE will come from target_clang 2020-04-21 14:06:54 +02:00
Marcel Hlopko
cfe463d715 Cleanup 2020-04-20 16:27:27 +02:00
Marcel Hlopko
cd1560a487 Address comments 2020-04-20 16:25:04 +02:00
Marcel Hlopko
774b655b39 Reverse args to expectEqual 2020-04-20 10:57:39 +02:00
Marcel Hlopko
8136d8c006 Rename test suite var 2020-04-20 10:46:34 +02:00
Marcel Hlopko
6321392e09 Interleave code and checks 2020-04-20 10:00:38 +02:00
Marcel Hlopko
fdcb330284 Add inout tests, add labels 2020-04-20 09:56:51 +02:00
Marcel Hlopko
f4d897e09e Remove uninspired comment 2020-04-17 16:44:30 +02:00
Marcel Hlopko
ee775e68ff Add more tests 2020-04-17 16:42:37 +02:00
Marcel Hlopko
aba7326d32 Update test/Interop/Cxx/extern-var/extern-var-irgen.swift
Co-Authored-By: Dmitri Gribenko <gribozavr@gmail.com>
2020-04-17 15:43:23 +02:00
Marcel Hlopko
d68ce6e6a0 Comment out failing tests 2020-04-17 15:35:25 +02:00
Marcel Hlopko
8ef3494340 Rename global-var -> extern-var 2020-04-17 14:58:47 +02:00
Marcel Hlopko
c590d72c12 Steal files from other branch 2020-04-17 14:54:10 +02:00