mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 16:38:09 +00:00
No support for `each` yet, but this should be enough that we can try out an implementation approach supporting expanding a statement across elements of a tuple without building "real" variadics. Assisted-by: Claude via Antigravity
26 lines
795 B
C++
26 lines
795 B
C++
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
#include "toolchain/check/context.h"
|
|
#include "toolchain/check/handle.h"
|
|
|
|
namespace Carbon::Check {
|
|
|
|
auto HandleParseNode(Context& context, Parse::PackExpansionStartId node_id)
|
|
-> bool {
|
|
return context.TODO(node_id, "HandlePackExpansionStart");
|
|
}
|
|
|
|
auto HandleParseNode(Context& context, Parse::PackExpansionStatementId node_id)
|
|
-> bool {
|
|
return context.TODO(node_id, "HandlePackExpansionStatement");
|
|
}
|
|
|
|
auto HandleParseNode(Context& context, Parse::PrefixOperatorExpandId node_id)
|
|
-> bool {
|
|
return context.TODO(node_id, "HandlePrefixOperatorExpand");
|
|
}
|
|
|
|
} // namespace Carbon::Check
|