semantics_ir_formatter.h 719 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. #ifndef CARBON_TOOLCHAIN_SEMANTICS_SEMANTICS_IR_FORMATTER_H_
  5. #define CARBON_TOOLCHAIN_SEMANTICS_SEMANTICS_IR_FORMATTER_H_
  6. #include "llvm/Support/raw_ostream.h"
  7. #include "toolchain/semantics/semantics_ir.h"
  8. namespace Carbon {
  9. auto FormatSemanticsIR(const TokenizedBuffer& tokenized_buffer,
  10. const ParseTree& parse_tree,
  11. const SemanticsIR& semantics_ir, llvm::raw_ostream& out)
  12. -> void;
  13. } // namespace Carbon
  14. #endif // CARBON_TOOLCHAIN_SEMANTICS_SEMANTICS_IR_FORMATTER_H_