aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Utility/UriParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Utility/UriParser.h')
-rw-r--r--lldb/source/Utility/UriParser.h29
1 files changed, 12 insertions, 17 deletions
diff --git a/lldb/source/Utility/UriParser.h b/lldb/source/Utility/UriParser.h
index 8cbaaea..56bd194 100644
--- a/lldb/source/Utility/UriParser.h
+++ b/lldb/source/Utility/UriParser.h
@@ -17,23 +17,18 @@
// Other libraries and framework includes
// Project includes
-class UriParser
-{
+class UriParser {
public:
- // Parses
- // RETURN VALUE
- // if url is valid, function returns true and
- // scheme/hostname/port/path are set to the parsed values
- // port it set to -1 if it is not included in the URL
- //
- // if the url is invalid, function returns false and
- // output parameters remain unchanged
- static bool
- Parse(const std::string& uri,
- std::string& scheme,
- std::string& hostname,
- int& port,
- std::string& path);
+ // Parses
+ // RETURN VALUE
+ // if url is valid, function returns true and
+ // scheme/hostname/port/path are set to the parsed values
+ // port it set to -1 if it is not included in the URL
+ //
+ // if the url is invalid, function returns false and
+ // output parameters remain unchanged
+ static bool Parse(const std::string &uri, std::string &scheme,
+ std::string &hostname, int &port, std::string &path);
};
-#endif // utility_UriParser_h_
+#endif // utility_UriParser_h_