handle_named_constraint.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. #include "toolchain/check/context.h"
  5. #include "toolchain/check/handle.h"
  6. namespace Carbon::Check {
  7. auto HandleParseNode(Context& context, Parse::NamedConstraintDeclId node_id)
  8. -> bool {
  9. return context.TODO(node_id, "HandleNamedConstraintDecl");
  10. }
  11. auto HandleParseNode(Context& context,
  12. Parse::NamedConstraintDefinitionId node_id) -> bool {
  13. // Note that the decl_name_stack will be popped by `ProcessNodeIds`.
  14. return context.TODO(node_id, "HandleNamedConstraintDefinition");
  15. }
  16. auto HandleParseNode(Context& context,
  17. Parse::NamedConstraintDefinitionStartId node_id) -> bool {
  18. return context.TODO(node_id, "HandleNamedConstraintDefinitionStart");
  19. }
  20. auto HandleParseNode(Context& context,
  21. Parse::NamedConstraintIntroducerId node_id) -> bool {
  22. return context.TODO(node_id, "HandleNamedConstraintIntroducer");
  23. }
  24. } // namespace Carbon::Check