Files
carbon-lang/toolchain/check/handle_pack_expansion.cpp
Richard Smith 2ec4bab59b Lex and parse support for ... statements and expand. (#7832)
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
2026-10-05 22:23:12 +00:00

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