carbon-lang
carbon-lang copied to clipboard
Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
Done in stages for easier review, see commits. Based on #5537. Part of #5533.
In the vein of https://github.com/carbon-language/carbon-lang/pull/5455. This also uses the 'int' min_prelude being added by #5546.
In the vein of https://github.com/carbon-language/carbon-lang/pull/5455. This is based on #5546 for the int prelude, and also adds negate for testing. This merges the one expr_category test into tuple testing because...
- A parameter binding can be marked `ref` instead of `var` or the default. It will bind to reference argument expressions in the caller and produces a reference expression in...
### Description of the bug: We currently emit function forward declarations for totally unused/unreferenced function forward declarations. This is unnecessary & we should avoid doing it, by having function and...
When doing impl lookup from a concrete value, or converting between facet values (which is implemented as impl lookup), ensure that the rewrite constraints known about the source value cover...
ASAN crashes do not include which test file was running. Normally we inject the command line which includes the file, and any diagnostics, but https://github.com/llvm/llvm-project/issues/138759 prevents that with ASAN crashes....
Instead of using ASTUnit and tooling APIs, directly mimic what Clang does during the compilation. Run the Clang frontend until the translation unit parsing is done, at which point switch...
A proposal for Primitive Types mapping between Carbon and C++. Part of #5263