mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Add extern template declarations and explicit template instantiations for ValueStore<InstId, Inst> and ValueStore<EntityNameId, EntityName> to prevent redundant template instantiations. Place them in their respective domain files (inst.h/cpp and entity_name.h/cpp) to maintain modularity. Assisted-by: Antigravity with Gemini
13 lines
440 B
C++
13 lines
440 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/entity_name.h"
|
|
|
|
#include "toolchain/base/value_store_impl.h"
|
|
|
|
namespace Carbon {
|
|
template class ValueStore<SemIR::EntityNameId, SemIR::EntityName,
|
|
Tag<SemIR::CheckIRId>>;
|
|
} // namespace Carbon
|