Convert UriParser to use StringRef.

llvm-svn: 287190
This commit is contained in:
Zachary Turner
2016-11-17 01:38:02 +00:00
parent 24bd317871
commit 245f7fdcfa
13 changed files with 77 additions and 56 deletions

View File

@@ -168,7 +168,7 @@ Error PlatformAndroid::ConnectRemote(Args &args) {
m_remote_platform_sp = PlatformSP(new PlatformAndroidRemoteGDBServer());
int port;
std::string scheme, host, path;
llvm::StringRef scheme, host, path;
const char *url = args.GetArgumentAtIndex(0);
if (!url)
return Error("URL is null.");