We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0d4ba0 + 0eb0aed commit 28e6369Copy full SHA for 28e6369
include/swift/Basic/Compiler.h
@@ -200,7 +200,7 @@
200
#if defined(__cplusplus)
201
#if defined(__cpp_char8_t)
202
inline constexpr char operator""_swift_u8(char8_t c) { return c; }
203
-inline const char *operator""_swift_u8(const char8_t *p, std::size_t) {
+inline const char *operator""_swift_u8(const char8_t *p, size_t) {
204
return reinterpret_cast<const char *>(p);
205
}
206
#define SWIFT_UTF8(literal) u8##literal##_swift_u8
include/swift/RemoteInspection/MetadataSource.h
@@ -29,6 +29,7 @@ using llvm::cast;
29
30
#include <cerrno>
31
#include <climits>
32
+#include <cstdlib>
33
#include <string>
34
35
namespace swift {
0 commit comments