SwiftCompilerSources: set the C++ language to C++17

LLVM, clang, and Swift use C++17.  Explicitly specify the C++ language
standard to use.
This commit is contained in:
Saleem Abdulrasool
2023-08-08 11:12:29 -07:00
parent f02ca3b3ca
commit 8260934afa

View File

@@ -1,4 +1,4 @@
// swift-tools-version:5.3
// swift-tools-version:5.4
//===--- Package.swift.in - SwiftCompiler SwiftPM package -----------------===//
//
// This source file is part of the Swift.org open source project
@@ -86,5 +86,6 @@ let package = Package(
.compilerModuleTarget(
name: "Optimizer",
dependencies: ["Basic", "SIL", "Parse"]),
]
],
cxxLanguageStandard: .cxx17
)