From 7a0727021a5864d2581ef279c1689e332f2fffca Mon Sep 17 00:00:00 2001 From: Ethan Brady Date: Thu, 28 Mar 2024 12:33:43 -0500 Subject: [PATCH] Include in Demangle.h (#59) This resolves a build error when using Bazel to build on Xcode 15.3 ``` In file included from external/swift-index-store~/Sources/CSwiftDemangle/CSwiftDemangle.cpp:1: external/swift-index-store~/Sources/CSwiftDemangle/PrivateHeaders/include/swift/Demangling/Demangle.h:61:8: error: no template named 'function' in namespace 'std' std::function GenericParameterName = ~~~~~^ 1 error generated. Error in child process '/usr/bin/xcrun'. 1 ``` Signed-off-by: Ethan Brady --- .../PrivateHeaders/include/swift/Demangling/Demangle.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/CSwiftDemangle/PrivateHeaders/include/swift/Demangling/Demangle.h b/Sources/CSwiftDemangle/PrivateHeaders/include/swift/Demangling/Demangle.h index 1b78e57..0d42977 100644 --- a/Sources/CSwiftDemangle/PrivateHeaders/include/swift/Demangling/Demangle.h +++ b/Sources/CSwiftDemangle/PrivateHeaders/include/swift/Demangling/Demangle.h @@ -23,6 +23,7 @@ #include #include #include +#include #define LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING 1 #include "llvm/ADT/StringRef.h" // #include "swift/Runtime/Config.h"