[Lldb-commits] [PATCH] Add Utility/UriParser
Oleksiy Vyalov
ovyalov at google.com
Tue Jan 6 15:38:10 PST 2015
LGTM
REPOSITORY
rL LLVM
================
Comment at: source/Utility/UriParser.cpp:36
@@ +35,3 @@
+ bool ok = false;
+ if (4==sscanf(uri, "%99[^:/]://%255[^/:]:%[^/]/%2047s", scheme_buf, hostname_buf, port_buf, path_buf+1)) { ok = true; }
+ else if (3==sscanf(uri, "%99[^:/]://%255[^/:]:%[^/]", scheme_buf, hostname_buf, port_buf)) { ok = true; }
----------------
indentation.
http://reviews.llvm.org/D6858
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list