mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 07:50:09 +01:00
Goal is to increase type safety, though more work needs to be done (see added TODOs). Note that, after this change, check handlers corresponding to deleted parse node kinds will no longer compile. --------- Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
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"
|
|
|
|
namespace Carbon::Check {
|
|
|
|
auto HandleNamedConstraintDecl(Context& context,
|
|
Parse::NamedConstraintDeclId parse_node)
|
|
-> bool {
|
|
return context.TODO(parse_node, "HandleNamedConstraintDecl");
|
|
}
|
|
|
|
auto HandleNamedConstraintDefinition(
|
|
Context& context, Parse::NamedConstraintDefinitionId parse_node) -> bool {
|
|
return context.TODO(parse_node, "HandleNamedConstraintDefinition");
|
|
}
|
|
|
|
auto HandleNamedConstraintDefinitionStart(
|
|
Context& context, Parse::NamedConstraintDefinitionStartId parse_node)
|
|
-> bool {
|
|
return context.TODO(parse_node, "HandleNamedConstraintDefinitionStart");
|
|
}
|
|
|
|
auto HandleNamedConstraintIntroducer(
|
|
Context& context, Parse::NamedConstraintIntroducerId parse_node) -> bool {
|
|
return context.TODO(parse_node, "HandleNamedConstraintIntroducer");
|
|
}
|
|
|
|
} // namespace Carbon::Check
|