From 6352399645a9be470b96f0f9de5f4231672e59fe Mon Sep 17 00:00:00 2001 From: Paolo Tranquilli Date: Mon, 26 Jun 2023 17:06:54 +0200 Subject: [PATCH] Swift: fix all upstream headers for C++20 --- .pre-commit-config.yaml | 4 ++-- swift/third_party/load.bzl | 9 ++++++- .../add-constructor-to-Compilation.patch | 17 +++++++++++++ .../patches/remove-redundant-operators.patch | 24 +++++++++++++++++++ 4 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 swift/third_party/swift-llvm-support/patches/add-constructor-to-Compilation.patch create mode 100644 swift/third_party/swift-llvm-support/patches/remove-redundant-operators.patch diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb25a64ebfb..2cf6f530354 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,9 +5,9 @@ repos: rev: v3.2.0 hooks: - id: trailing-whitespace - exclude: /test/.*$(?