mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
This adds SemIR structs and implements building `observe` lists, as well as naming, formatting, and importing `observe` declarations. --------- Co-authored-by: Dana Jansens <danakj@orodu.net>
19 lines
774 B
C++
19 lines
774 B
C++
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
#include "toolchain/sem_ir/observe.h"
|
|
|
|
#include "toolchain/base/block_value_store_impl.h"
|
|
#include "toolchain/base/value_store_impl.h"
|
|
|
|
namespace Carbon {
|
|
template class ValueStore<SemIR::ObserveId, SemIR::Observe,
|
|
Tag<SemIR::CheckIRId>>;
|
|
template class ValueStore<SemIR::ObserveBlockId,
|
|
llvm::MutableArrayRef<SemIR::ObserveId>,
|
|
Tag<SemIR::CheckIRId>>;
|
|
template class BlockValueStore<SemIR::ObserveBlockId, SemIR::ObserveId,
|
|
Tag<SemIR::CheckIRId>>;
|
|
} // namespace Carbon
|