mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 16:40:29 +00:00
location -> loc abbreviation (#3826)
This commit is contained in:
1 parent
72564a08d4
commit
b5d28f2c4b
48 files changed
+341
-373
No files matched your search
@@ -19,9 +19,8 @@ auto HandleAnyBindingPattern(Context& context, Parse::NodeId node_id,
|
||||
auto [name_node, name_id] = context.node_stack().PopNameWithNodeId();
|
||||
|
||||
// Create the appropriate kind of binding for this pattern.
|
||||
auto make_bind_name =
|
||||
[&](SemIR::TypeId type_id,
|
||||
SemIR::InstId value_id) -> SemIR::LocationIdAndInst {
|
||||
auto make_bind_name = [&](SemIR::TypeId type_id,
|
||||
SemIR::InstId value_id) -> SemIR::LocIdAndInst {
|
||||
// TODO: Eventually the name will need to support associations with other
|
||||
// scopes, but right now we don't support qualified names here.
|
||||
auto bind_name_id = context.bind_names().Add(
|
||||
|
||||
Reference in new issue
Block a user