Skip to content

Commit a659b64

Browse files
committed
Sema: Rename TypeCheckProtocolInference.cpp to AssociatedTypeInference.cpp
1 parent c2cbd06 commit a659b64

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/Sema/TypeCheckProtocolInference.cpp renamed to lib/Sema/AssociatedTypeInference.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
//===--- TypeCheckProtocolInference.cpp - Associated Type Inference -------===//
1+
//===--- AssociatedTypeInference.cpp - Associated Type Inference ---000----===//
22
//
33
// This source file is part of the Swift.org open source project
44
//
5-
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
5+
// Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors
66
// Licensed under Apache License v2.0 with Runtime Library Exception
77
//
88
// See https://swift.org/LICENSE.txt for license information
99
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
1010
//
1111
//===----------------------------------------------------------------------===//
1212
//
13-
// This file implements semantic analysis for protocols, in particular, checking
14-
// whether a given type conforms to a given protocol.
13+
// This file implements type witness lookup and associated type inference.
14+
//
1515
//===----------------------------------------------------------------------===//
1616
#include "TypeCheckProtocol.h"
1717
#include "DerivedConformances.h"

lib/Sema/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

22
add_swift_host_library(swiftSema STATIC
3+
AssociatedTypeInference.cpp
34
BuilderTransform.cpp
45
CSApply.cpp
56
CSBindings.cpp
@@ -66,7 +67,6 @@ add_swift_host_library(swiftSema STATIC
6667
TypeCheckPattern.cpp
6768
TypeCheckPropertyWrapper.cpp
6869
TypeCheckProtocol.cpp
69-
TypeCheckProtocolInference.cpp
7070
TypeCheckRegex.cpp
7171
TypeCheckRequestFunctions.cpp
7272
TypeCheckStmt.cpp

0 commit comments

Comments
 (0)