impl.h 582 B

123456789101112131415161718
  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_CHECK_IMPL_H_
  5. #define CARBON_TOOLCHAIN_CHECK_IMPL_H_
  6. #include "toolchain/check/context.h"
  7. #include "toolchain/sem_ir/ids.h"
  8. namespace Carbon::Check {
  9. // Builds and returns a witness for the impl `impl_id`.
  10. auto BuildImplWitness(Context& context, SemIR::ImplId impl_id) -> SemIR::InstId;
  11. } // namespace Carbon::Check
  12. #endif // CARBON_TOOLCHAIN_CHECK_IMPL_H_