| .. |
|
cpp
|
cc204ead96
Allow NRVO in `InventClangArgs`. (#6624)
|
3 months ago |
|
fuzzer_corpus
|
24bde46181
Change array syntax from [T; N] to array(T, N) (#4981)
|
1 year ago |
|
testdata
|
4bb2935770
Look through `extend require` in an interface or named constraint in name lookup (#6630)
|
3 months ago |
|
BUILD
|
f1f6005d4a
Perform Clang IRGen during `check` (#6569)
|
3 months ago |
|
action.cpp
|
42e2280150
Clean up singleton TypeId use (#6300)
|
6 months ago |
|
action.h
|
f0663715dd
Even more usage of TypeInstId (#5296)
|
1 year ago |
|
call.cpp
|
4a47f1ebeb
Remove some uses of ReturnTypeInfo (#6577)
|
3 months ago |
|
call.h
|
0e5832d3c2
Model `ref` tags as insts instead of annotations (#6541)
|
3 months ago |
|
check.cpp
|
f1f6005d4a
Perform Clang IRGen during `check` (#6569)
|
3 months ago |
|
check.h
|
f1f6005d4a
Perform Clang IRGen during `check` (#6569)
|
3 months ago |
|
check_fuzzer.cpp
|
0d0e202ce8
Switch Driver back to parameters for construction (#4849)
|
1 year ago |
|
check_unit.cpp
|
9106f9533c
Use lines instead of statements for readability-function-size clang-tidy (#6594)
|
3 months ago |
|
check_unit.h
|
9106f9533c
Use lines instead of statements for readability-function-size clang-tidy (#6594)
|
3 months ago |
|
class.cpp
|
50a0f908c6
Mark `Check::Context::insts()` as `const` and use it in more use cases (#6093)
|
7 months ago |
|
class.h
|
27be0973e7
Vtable support for generics (#5793)
|
9 months ago |
|
context.cpp
|
c64117d0e0
Make IdTag typesafe (#6574)
|
3 months ago |
|
context.h
|
95eb7b16bb
Expose C++ reference returns as Carbon reference returns (#6618)
|
3 months ago |
|
control_flow.cpp
|
c0b335b87f
Add well-known identifier caching (#6486)
|
4 months ago |
|
control_flow.h
|
6a53947c5c
Handle destruction for return statements (#5785)
|
9 months ago |
|
convert.cpp
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
convert.h
|
e1ec8d42d1
Give `ReturnExpr` a target only when initialization is in-place (#6570)
|
3 months ago |
|
core_identifier.cpp
|
c0b335b87f
Add well-known identifier caching (#6486)
|
4 months ago |
|
core_identifier.def
|
c0b335b87f
Add well-known identifier caching (#6486)
|
4 months ago |
|
core_identifier.h
|
c0b335b87f
Add well-known identifier caching (#6486)
|
4 months ago |
|
custom_witness.cpp
|
a2737a3189
Add `Call` param patterns to `Function` (#6586)
|
3 months ago |
|
custom_witness.h
|
c5eba90317
Change `Destroy` to use a `CustomWitness` instead of a blanket impl (#6512)
|
4 months ago |
|
decl_introducer_state.h
|
94dca7967b
Allow `extend final impl as` for impl declarations (#5345)
|
1 year ago |
|
decl_name_stack.cpp
|
e060342411
Defer building thunks until the end of the enclosing definition. (#5403)
|
1 year ago |
|
decl_name_stack.h
|
e060342411
Defer building thunks until the end of the enclosing definition. (#5403)
|
1 year ago |
|
deduce.cpp
|
0811d996e1
Finish renaming BindName and related insts. (#6281)
|
6 months ago |
|
deduce.h
|
493bea1647
Fearlessly hold references into ValueStore again (#5589)
|
11 months ago |
|
deferred_definition_worklist.cpp
|
2472f44e44
Track pending thunks on the deferred definition worklist. (#5609)
|
10 months ago |
|
deferred_definition_worklist.h
|
2472f44e44
Track pending thunks on the deferred definition worklist. (#5609)
|
10 months ago |
|
diagnostic_emitter.cpp
|
3a7c44c5c4
Check required implementations when an enclosing interface is implemented (#6522)
|
3 months ago |
|
diagnostic_emitter.h
|
bd4fbb4393
Expand use of CheckIRId stores (#5820)
|
9 months ago |
|
diagnostic_helpers.h
|
3f799bd987
Use explicit(false) for implicit construction (#6039)
|
7 months ago |
|
dump.cpp
|
54a1c8213c
Add lldb dumping for RequireImplsId and RequireImplsBlockId (#6524)
|
4 months ago |
|
eval.cpp
|
31919afa24
Allow conversion between `T*` and `Cpp.void*`. (#6575)
|
3 months ago |
|
eval.h
|
55da026a46
Remove the SemIRLoc typedef (#5299)
|
1 year ago |
|
eval_inst.cpp
|
935ccce2a6
Fix lowering of imported global variables. (#6567)
|
3 months ago |
|
eval_inst.h
|
b300f36e6f
Use `inline constexpr` where appropriate. (#6374)
|
5 months ago |
|
facet_type.cpp
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
facet_type.h
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
full_pattern_stack.h
|
b72bfb918b
Allocate `CallParamIndex`es eagerly (#6540)
|
3 months ago |
|
function.cpp
|
4a47f1ebeb
Remove some uses of ReturnTypeInfo (#6577)
|
3 months ago |
|
function.h
|
4a47f1ebeb
Remove some uses of ReturnTypeInfo (#6577)
|
3 months ago |
|
generic.cpp
|
30562826b8
Add Inst::IsOneOf to check if an inst is one of a few kinds (#6523)
|
3 months ago |
|
generic.h
|
22580a47d3
Initial support for empty named constraints (#6245)
|
6 months ago |
|
generic_region_stack.cpp
|
4f5d11a28b
Build generic eval blocks incrementally (#5313)
|
1 year ago |
|
generic_region_stack.h
|
4f5d11a28b
Build generic eval blocks incrementally (#5313)
|
1 year ago |
|
global_init.cpp
|
a2737a3189
Add `Call` param patterns to `Function` (#6586)
|
3 months ago |
|
global_init.h
|
cf389bf5d3
Split global init out from InstBlockStack. (#4101)
|
1 year ago |
|
handle.h
|
2472f44e44
Track pending thunks on the deferred definition worklist. (#5609)
|
10 months ago |
|
handle_alias.cpp
|
0811d996e1
Finish renaming BindName and related insts. (#6281)
|
6 months ago |
|
handle_array.cpp
|
315e206ff1
Construct LocId from InstId directly (explicitly) instead of doing lookups when possible (#5355)
|
1 year ago |
|
handle_binding_pattern.cpp
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
handle_call_expr.cpp
|
e940cb72b6
Parse `ref` as operator (#6539)
|
4 months ago |
|
handle_choice.cpp
|
8f19f7a7c0
Use the value representation of `T` as that of `MaybeUnformed(T)` where possible (#6334)
|
5 months ago |
|
handle_class.cpp
|
49ba8cf3e1
Switch class to use a blanket impl for `Destroy` (#6125)
|
7 months ago |
|
handle_codeblock.cpp
|
03e693873b
Detect control flow in entities nested inside functions (#5336)
|
1 year ago |
|
handle_export.cpp
|
315e206ff1
Construct LocId from InstId directly (explicitly) instead of doing lookups when possible (#5355)
|
1 year ago |
|
handle_expr_statement.cpp
|
69b9982e95
Convert discarded calls in thunks. (#5452)
|
11 months ago |
|
handle_file.cpp
|
99696b9812
Rename check handlers to HandleParseNode overloads. (#4121)
|
1 year ago |
|
handle_function.cpp
|
80639a02f0
[parse] Implement initial parsing support for Lambda expressions (#6583)
|
3 months ago |
|
handle_if_expr.cpp
|
03e693873b
Detect control flow in entities nested inside functions (#5336)
|
1 year ago |
|
handle_if_statement.cpp
|
311b4ff03d
Refactor AddInst-family functions to their own file (#4941)
|
1 year ago |
|
handle_impl.cpp
|
848eddc9dd
Avoid cyclic lookup of an impl inside its own definition (#6629)
|
3 months ago |
|
handle_import_and_package.cpp
|
8166f9a7cf
Formalize Cpp as a PackageNameId (#6306)
|
5 months ago |
|
handle_index.cpp
|
c0b335b87f
Add well-known identifier caching (#6486)
|
4 months ago |
|
handle_interface.cpp
|
ff0cea55f6
Add require decls to Interface and NamedConstraint (#6321)
|
5 months ago |
|
handle_lambda.cpp
|
80639a02f0
[parse] Implement initial parsing support for Lambda expressions (#6583)
|
3 months ago |
|
handle_let_and_var.cpp
|
b72bfb918b
Allocate `CallParamIndex`es eagerly (#6540)
|
3 months ago |
|
handle_literal.cpp
|
6b28213b36
Add interop support for naming and "calling" C++ templates. (#6474)
|
4 months ago |
|
handle_loop_statement.cpp
|
c0b335b87f
Add well-known identifier caching (#6486)
|
4 months ago |
|
handle_match.cpp
|
99696b9812
Rename check handlers to HandleParseNode overloads. (#4121)
|
1 year ago |
|
handle_modifier.cpp
|
94dca7967b
Allow `extend final impl as` for impl declarations (#5345)
|
1 year ago |
|
handle_name.cpp
|
47e551141f
Change the package namespace to use the package name (#6495)
|
4 months ago |
|
handle_named_constraint.cpp
|
ff0cea55f6
Add require decls to Interface and NamedConstraint (#6321)
|
5 months ago |
|
handle_namespace.cpp
|
315e206ff1
Construct LocId from InstId directly (explicitly) instead of doing lookups when possible (#5355)
|
1 year ago |
|
handle_noop.cpp
|
4d0a6db49b
Abort checking when encountering an invalid parse node (#4700)
|
1 year ago |
|
handle_operator.cpp
|
0e5832d3c2
Model `ref` tags as insts instead of annotations (#6541)
|
3 months ago |
|
handle_paren_expr.cpp
|
99696b9812
Rename check handlers to HandleParseNode overloads. (#4121)
|
1 year ago |
|
handle_pattern_list.cpp
|
58de34e534
Decouple associated constants from let (#5973)
|
8 months ago |
|
handle_require.cpp
|
4bb2935770
Look through `extend require` in an interface or named constraint in name lookup (#6630)
|
3 months ago |
|
handle_return_statement.cpp
|
99696b9812
Rename check handlers to HandleParseNode overloads. (#4121)
|
1 year ago |
|
handle_struct.cpp
|
fbc7690157
Switch `zip` to `zip_equal` where possible (#6389)
|
5 months ago |
|
handle_tuple_literal.cpp
|
a74ca9071b
Remove all remaining uses of `TypeId`s as instruction operands. (#5280)
|
1 year ago |
|
handle_where.cpp
|
e5c94b193d
Use the new IsFacetTypeOrError function (#6438)
|
5 months ago |
|
impl.cpp
|
4bb2935770
Look through `extend require` in an interface or named constraint in name lookup (#6630)
|
3 months ago |
|
impl.h
|
848eddc9dd
Avoid cyclic lookup of an impl inside its own definition (#6629)
|
3 months ago |
|
impl_lookup.cpp
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
impl_lookup.h
|
c77eebd15e
Cache final impl lookup results. (#6452)
|
5 months ago |
|
impl_validation.cpp
|
35d505a985
Check the orphan rule for impls (#6488)
|
4 months ago |
|
impl_validation.h
|
950d83451a
Add diagnostics for invalid impl declarations (#5420)
|
11 months ago |
|
import.cpp
|
877179d6d9
Refactor addition of imported locations and placeholders (#6354)
|
5 months ago |
|
import.h
|
877179d6d9
Refactor addition of imported locations and placeholders (#6354)
|
5 months ago |
|
import_ref.cpp
|
4bb2935770
Look through `extend require` in an interface or named constraint in name lookup (#6630)
|
3 months ago |
|
import_ref.h
|
e8cd229e74
When performing an impl lookup, only import impls for related interfaces. (#6040)
|
7 months ago |
|
inst.cpp
|
877179d6d9
Refactor addition of imported locations and placeholders (#6354)
|
5 months ago |
|
inst.h
|
877179d6d9
Refactor addition of imported locations and placeholders (#6354)
|
5 months ago |
|
inst_block_stack.cpp
|
c0ee446cec
Refactor InstBlockStore's API, AddDefaultValue -> AddPlaceholder (#5166)
|
1 year ago |
|
inst_block_stack.h
|
ff0cea55f6
Add require decls to Interface and NamedConstraint (#6321)
|
5 months ago |
|
interface.cpp
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
interface.h
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
keyword_modifier_set.cpp
|
973d721916
Some more edits to EnumBase and EnumMaskBase (#6054)
|
7 months ago |
|
keyword_modifier_set.h
|
b300f36e6f
Use `inline constexpr` where appropriate. (#6374)
|
5 months ago |
|
lexical_lookup.h
|
110af3bfe4
Set an explicit size for lexical lookup's vector (#5786)
|
9 months ago |
|
literal.cpp
|
6b28213b36
Add interop support for naming and "calling" C++ templates. (#6474)
|
4 months ago |
|
literal.h
|
6b28213b36
Add interop support for naming and "calling" C++ templates. (#6474)
|
4 months ago |
|
member_access.cpp
|
ee77aa4b67
Member access into a facet is not a "lookup in type of base" (#6631)
|
3 months ago |
|
member_access.h
|
3b6d202730
Implement support for mixed-access overload sets. (#6137)
|
7 months ago |
|
merge.cpp
|
57a2715f10
Remove support for `addr` (#6375)
|
5 months ago |
|
merge.h
|
22580a47d3
Initial support for empty named constraints (#6245)
|
6 months ago |
|
modifiers.cpp
|
315e206ff1
Construct LocId from InstId directly (explicitly) instead of doing lookups when possible (#5355)
|
1 year ago |
|
modifiers.h
|
b5a837aa89
Refactor modifier formatting to remove string passing. (#4418)
|
1 year ago |
|
name_component.cpp
|
a2737a3189
Add `Call` param patterns to `Function` (#6586)
|
3 months ago |
|
name_component.h
|
a2737a3189
Add `Call` param patterns to `Function` (#6586)
|
3 months ago |
|
name_lookup.cpp
|
4bb2935770
Look through `extend require` in an interface or named constraint in name lookup (#6630)
|
3 months ago |
|
name_lookup.h
|
ee77aa4b67
Member access into a facet is not a "lookup in type of base" (#6631)
|
3 months ago |
|
name_ref.cpp
|
e24ba02352
Fix lowering of thunks in generic impls (#5631)
|
10 months ago |
|
name_ref.h
|
e24ba02352
Fix lowering of thunks in generic impls (#5631)
|
10 months ago |
|
name_scope.cpp
|
2d38978756
Diagnose explicit `Self` in extend in the parse node handler (Refactor Impl construction 1/7) (#6465)
|
4 months ago |
|
name_scope.h
|
2d38978756
Diagnose explicit `Self` in extend in the parse node handler (Refactor Impl construction 1/7) (#6465)
|
4 months ago |
|
node_id_traversal.cpp
|
2472f44e44
Track pending thunks on the deferred definition worklist. (#5609)
|
10 months ago |
|
node_id_traversal.h
|
2472f44e44
Track pending thunks on the deferred definition worklist. (#5609)
|
10 months ago |
|
node_stack.cpp
|
9106f9533c
Use lines instead of statements for readability-function-size clang-tidy (#6594)
|
3 months ago |
|
node_stack.h
|
80639a02f0
[parse] Implement initial parsing support for Lambda expressions (#6583)
|
3 months ago |
|
operator.cpp
|
0e5832d3c2
Model `ref` tags as insts instead of annotations (#6541)
|
3 months ago |
|
operator.h
|
c0b335b87f
Add well-known identifier caching (#6486)
|
4 months ago |
|
param_and_arg_refs_stack.h
|
e7b68572fa
Consolidate post-check logic (#5003)
|
1 year ago |
|
pattern.cpp
|
6985ecb1d4
Replace GetCurrentReturnSlot with GetReturnedVarParam (#6571)
|
3 months ago |
|
pattern.h
|
0873777237
Import C++ ref parameters as ref parameters (#6360)
|
5 months ago |
|
pattern_match.cpp
|
a2737a3189
Add `Call` param patterns to `Function` (#6586)
|
3 months ago |
|
pattern_match.h
|
a2737a3189
Add `Call` param patterns to `Function` (#6586)
|
3 months ago |
|
pending_block.h
|
b44ba47cf3
Don't treat dependent types as having a copy value representation. (#6055)
|
7 months ago |
|
pointer_dereference.cpp
|
95903dc624
Generate thunks for functions in `impl`s (#5390)
|
1 year ago |
|
pointer_dereference.h
|
95903dc624
Generate thunks for functions in `impl`s (#5390)
|
1 year ago |
|
region_stack.h
|
55da026a46
Remove the SemIRLoc typedef (#5299)
|
1 year ago |
|
require_impls.cpp
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
require_impls.h
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
return.cpp
|
4a47f1ebeb
Remove some uses of ReturnTypeInfo (#6577)
|
3 months ago |
|
return.h
|
6985ecb1d4
Replace GetCurrentReturnSlot with GetReturnedVarParam (#6571)
|
3 months ago |
|
scope_index.h
|
b300f36e6f
Use `inline constexpr` where appropriate. (#6374)
|
5 months ago |
|
scope_stack.cpp
|
e060342411
Defer building thunks until the end of the enclosing definition. (#5403)
|
1 year ago |
|
scope_stack.h
|
705c95d6e0
Drop fn destroy support (#6136)
|
7 months ago |
|
subst.cpp
|
c5eba90317
Change `Destroy` to use a `CustomWitness` instead of a blanket impl (#6512)
|
4 months ago |
|
subst.h
|
0811d996e1
Finish renaming BindName and related insts. (#6281)
|
6 months ago |
|
thunk.cpp
|
a2737a3189
Add `Call` param patterns to `Function` (#6586)
|
3 months ago |
|
thunk.h
|
372f632d9d
Implement support for copying C++ classes. (#6434)
|
5 months ago |
|
type.cpp
|
6b28213b36
Add interop support for naming and "calling" C++ templates. (#6474)
|
4 months ago |
|
type.h
|
6b28213b36
Add interop support for naming and "calling" C++ templates. (#6474)
|
4 months ago |
|
type_completion.cpp
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
type_completion.h
|
32aa7cb1fa
Make identifying a facet type an operation on a (self+facet type) pair (#6592)
|
3 months ago |
|
type_structure.cpp
|
0679b779fb
Return SymbolicBindingType separately in TypeIterator (#6193)
|
6 months ago |
|
type_structure.h
|
8e577a5d28
Prevent accidental copies of TypeStructure (#6519)
|
4 months ago |