mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* move it from the SIL to the AST module (where it belongs) * change the signature of `diagnose` from `diagnose(location, .some_error)` to `diagnose(.some_error, at: location)` * add an overload to allow passing a `SIL.Location` directly to `diagnose` * add a `Diagnostic : Error` utility struct which allows throwing a `Diagnostic`
29 lines
790 B
CMake
29 lines
790 B
CMake
# This source file is part of the Swift.org open source project
|
|
#
|
|
# Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors
|
|
# Licensed under Apache License v2.0 with Runtime Library Exception
|
|
#
|
|
# See http://swift.org/LICENSE.txt for license information
|
|
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
|
|
|
|
swift_compiler_sources(Optimizer
|
|
AccessUtilsTest.swift
|
|
AddressUtils.swift
|
|
BorrowUtils.swift
|
|
SpecializationCloner.swift
|
|
Devirtualization.swift
|
|
EscapeUtils.swift
|
|
ForwardingUtils.swift
|
|
FunctionSignatureTransforms.swift
|
|
GenericSpecialization.swift
|
|
LifetimeDependenceUtils.swift
|
|
LocalVariableUtils.swift
|
|
OptUtils.swift
|
|
OwnershipLiveness.swift
|
|
PhiUpdater.swift
|
|
SSAUpdater.swift
|
|
StaticInitCloner.swift
|
|
Test.swift
|
|
Verifier.swift
|
|
)
|