mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Update LLVM to latest upstream. (#1080)
Also change header guards to WPI header guards. Remove StringRef::c_str() customization, replacing the handful of uses with Twine or SmallString. TCPStream: Include errno.h and make Windows includes lowercase for consistency. Upstream LLVM version: eb4186cca7924fb1706357545311a2fa3de40c59
This commit is contained in:
@@ -60,6 +60,6 @@ StringRef GetHostname(SmallVectorImpl<char>& name) {
|
||||
name.clear();
|
||||
name.append(tmpName, tmpName + std::strlen(tmpName) + 1);
|
||||
|
||||
return StringRef{name.data(), name.size(), true};
|
||||
return StringRef{name.data(), name.size()};
|
||||
}
|
||||
} // namespace wpi
|
||||
|
||||
Reference in New Issue
Block a user