Files
carbon-lang/toolchain/check
Richard Smith 8b59e85b16 Add support for inline Cpp declarations. (#6994)
For #6830, add support for inline C++ fragments as a declaration rather
than as a packaging directive. For now, this uses `inline Cpp
<string-literal>;` as syntax. The prior `import Cpp inline
<string-literal>;` is left alone for the time being. We can decide
separately whether to remove that.

`inline Cpp` requires that there was at least one `import Cpp`. It's not
clear to me if that's the right design long-term, but it seems
reasonable for now.

Assisted-by: Gemini via Google Antigravity
2026-03-31 22:27:43 +00:00
..
2025-04-11 21:47:43 +00:00
2025-07-11 22:29:10 +00:00
2026-02-23 16:48:23 +00:00
2026-03-30 19:07:46 +00:00
2026-03-06 17:35:48 +00:00