clang_decl.cpp 472 B

1234567891011121314151617
  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/sem_ir/clang_decl.h"
  5. #include "clang/AST/DeclBase.h"
  6. namespace Carbon::SemIR {
  7. auto ClangDecl::Print(llvm::raw_ostream& out) const -> void {
  8. out << "{decl: ";
  9. decl->print(out);
  10. out << ", inst_id: " << inst_id << "}";
  11. }
  12. } // namespace Carbon::SemIR