handle_export.cpp 621 B

1234567891011121314151617181920
  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/parse/typed_nodes.h"
  6. namespace Carbon::Check {
  7. auto HandleExportIntroducer(Context& /*context*/,
  8. Parse::ExportIntroducerId /*node_id*/) -> bool {
  9. return true;
  10. }
  11. auto HandleExportDirective(Context& context, Parse::ExportDirectiveId node_id)
  12. -> bool {
  13. return context.TODO(node_id, "ExportDirective");
  14. }
  15. } // namespace Carbon::Check