formatter.h 643 B

12345678910111213141516171819
  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_SEM_IR_FORMATTER_H_
  5. #define CARBON_TOOLCHAIN_SEM_IR_FORMATTER_H_
  6. #include "llvm/Support/raw_ostream.h"
  7. #include "toolchain/sem_ir/file.h"
  8. namespace Carbon::SemIR {
  9. auto FormatFile(const Lex::TokenizedBuffer& tokenized_buffer,
  10. const Parse::Tree& parse_tree, const File& sem_ir,
  11. llvm::raw_ostream& out) -> void;
  12. } // namespace Carbon::SemIR
  13. #endif // CARBON_TOOLCHAIN_SEM_IR_FORMATTER_H_