Commit 7a07270
authored
Include <functional> 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<std::string(uint64_t, uint64_t)> GenericParameterName =
~~~~~^
1 error generated.
Error in child process '/usr/bin/xcrun'. 1
```
Signed-off-by: Ethan Brady <[email protected]>1 parent 27ef10a commit 7a07270
File tree
1 file changed
+1
-0
lines changed- Sources/CSwiftDemangle/PrivateHeaders/include/swift/Demangling
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
0 commit comments