handle_require.cpp 897 B

123456789101112131415161718192021222324252627282930
  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. #include "toolchain/parse/node_ids.h"
  7. namespace Carbon::Check {
  8. auto HandleParseNode(Context& context, Parse::RequireIntroducerId node_id)
  9. -> bool {
  10. return context.TODO(node_id, "require");
  11. }
  12. auto HandleParseNode(Context& context, Parse::RequireDefaultSelfImplsId node_id)
  13. -> bool {
  14. return context.TODO(node_id, "require");
  15. }
  16. auto HandleParseNode(Context& context, Parse::RequireTypeImplsId node_id)
  17. -> bool {
  18. return context.TODO(node_id, "require");
  19. }
  20. auto HandleParseNode(Context& context, Parse::RequireDeclId node_id) -> bool {
  21. return context.TODO(node_id, "require");
  22. }
  23. } // namespace Carbon::Check