mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +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>
39 lines
1.2 KiB
C++
39 lines
1.2 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 HandleImplIntroducer(Context& context, Parse::ImplIntroducerId parse_node)
|
|
-> bool {
|
|
return context.TODO(parse_node, "HandleImplIntroducer");
|
|
}
|
|
|
|
auto HandleImplForall(Context& context, Parse::ImplForallId parse_node)
|
|
-> bool {
|
|
return context.TODO(parse_node, "HandleImplForall");
|
|
}
|
|
|
|
auto HandleImplAs(Context& context, Parse::ImplAsId parse_node) -> bool {
|
|
return context.TODO(parse_node, "HandleImplAs");
|
|
}
|
|
|
|
auto HandleImplDecl(Context& context, Parse::ImplDeclId parse_node) -> bool {
|
|
return context.TODO(parse_node, "HandleImplDecl");
|
|
}
|
|
|
|
auto HandleImplDefinitionStart(Context& context,
|
|
Parse::ImplDefinitionStartId parse_node)
|
|
-> bool {
|
|
return context.TODO(parse_node, "HandleImplDefinitionStart");
|
|
}
|
|
|
|
auto HandleImplDefinition(Context& context, Parse::ImplDefinitionId parse_node)
|
|
-> bool {
|
|
return context.TODO(parse_node, "HandleImplDefinition");
|
|
}
|
|
|
|
} // namespace Carbon::Check
|