mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
where check stage, step 2: SemIR (#4349)
The check stage now produces SemIR instructions to represent a `where` clause. It still does not check types. --------- Co-authored-by: Josh L <josh11b@users.noreply.github.com> Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
co-authored by
Josh L
Jon Ross-Perkins
parent
4c9ffb0dee
commit
bdbd1079a6
@@ -499,7 +499,7 @@ template <typename InstT>
|
||||
requires(InstT::Kind.template IsAnyOf<
|
||||
SemIR::AssociatedEntityType, SemIR::FunctionType,
|
||||
SemIR::GenericClassType, SemIR::GenericInterfaceType,
|
||||
SemIR::InterfaceType, SemIR::UnboundElementType>())
|
||||
SemIR::InterfaceType, SemIR::UnboundElementType, SemIR::WhereExpr>())
|
||||
static auto BuildTypeForInst(FileContext& context, InstT /*inst*/)
|
||||
-> llvm::Type* {
|
||||
// Return an empty struct as a placeholder.
|
||||
|
||||
Reference in New Issue
Block a user