Boaz Brickner
87b9cab7b1
Add support for importing a trivial global C++ function ( #5033 )
...
ASTUnit is owned by `CompileSubcommand`, passed through `Unit` to be
populated in `ImportCppFiles()` and used via `SemIR::File`.
When generating the AST, pass `-x c++` args to compile C++ (temporary
until we pass args properly).
`Cpp` namespace is marked as a special namespace and has dedicated logic
in `LookupNameInExactScope()`.
The logic for importing declarations from C++ to Carbon is in
`import_cpp.cpp`, but we're likely to want to refactor this
signfiicantly over time as it grows (perhaps a dedicated directory?).
Part of #4666 .
2025-03-03 10:38:19 +00:00
..
2025-02-06 00:55:20 +00:00
2025-02-06 00:55:20 +00:00
2025-01-25 02:13:52 +00:00
2025-02-19 18:32:13 +00:00
2025-03-03 10:38:19 +00:00
2025-02-27 17:53:48 +00:00
2025-02-27 17:53:48 +00:00
2024-12-31 06:36:43 +00:00
2025-01-22 23:15:00 +00:00
2025-01-22 23:15:00 +00:00
2025-02-18 18:57:34 +00:00
2025-02-21 22:13:38 +00:00
2025-01-22 23:15:00 +00:00
2025-02-20 22:59:06 +00:00
2025-02-19 22:10:11 +00:00
2025-02-13 02:15:22 +00:00
2025-01-25 02:13:52 +00:00
2025-01-22 23:15:00 +00:00
2023-10-05 18:24:17 +00:00
2025-02-27 19:48:10 +00:00
2025-02-27 19:48:10 +00:00
2025-02-20 22:26:10 +00:00
2025-03-03 10:38:19 +00:00
2025-02-27 02:13:17 +00:00
2024-12-06 21:17:24 +00:00
2025-02-12 22:38:36 +00:00
2025-02-13 19:07:17 +00:00
2025-01-25 02:13:52 +00:00
2025-02-19 18:32:13 +00:00
2025-02-27 01:31:26 +00:00
2025-02-26 02:23:22 +00:00
2025-03-01 08:00:17 +00:00
2025-01-22 23:15:00 +00:00
2025-02-19 22:10:11 +00:00
2025-02-12 01:44:37 +00:00
2025-01-23 20:25:06 +00:00
2025-02-26 22:47:57 +00:00
2025-02-26 22:47:57 +00:00
2024-07-11 21:39:25 +00:00
2025-02-20 03:17:45 +00:00
2025-02-27 01:31:26 +00:00
2025-02-26 22:47:57 +00:00
2025-02-26 22:47:57 +00:00
2025-01-22 23:15:00 +00:00
2025-02-27 01:31:26 +00:00
2025-01-22 23:15:00 +00:00
2025-02-13 20:00:54 +00:00
2025-02-13 20:00:54 +00:00
2025-03-03 10:38:19 +00:00
2025-02-26 02:23:22 +00:00
2025-01-23 02:21:48 +00:00
2024-12-17 01:25:53 +00:00
2025-02-20 03:17:45 +00:00
2024-10-07 22:55:26 +00:00
2024-11-06 21:38:27 +00:00
2025-01-22 23:15:00 +00:00
2025-02-20 22:26:10 +00:00
2025-02-13 23:02:38 +00:00
2025-02-20 22:26:10 +00:00
2024-11-18 22:28:57 +00:00
2025-02-27 01:31:26 +00:00
2025-02-27 02:13:17 +00:00