Nicholas Bishop
67648b4d49
Remove "__cpp_thunk" from thunk name for exported functions ( #7092 )
...
This makes the behavior consistent between methods and regular
functions, and fixes the behavior with `using` aliases (see new
`using.carbon` test).
As requested in
https://github.com/carbon-language/carbon-lang/pull/7078#discussion_r3121104954 .
2026-04-22 18:05:02 +00:00
Richard Smith
f91990aa87
Override Clang class layout for Carbon class types. ( #7071 )
...
Use the Carbon-determined size and alignment for Carbon-defined classes,
rather than allowing Clang to work one out for itself using the C++
rules.
2026-04-17 00:03:29 +00:00
Richard Smith
b74e0d1260
Superficial support for exporting complete class types to C++. ( #7029 )
...
We don't yet populate the bases or fields, so the class types show up as
empty classes in C++ for now. But we do allow calls to static member
functions.
2026-04-08 19:29:25 +00:00