[PATCH] D52455: [clangd] Check that scheme is valid when parsing URI.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 25 03:31:12 PDT 2018


sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clangd/URI.cpp:134
 
+static bool IsValidScheme(llvm::StringRef Scheme) {
+  if (Scheme.empty())
----------------
nit: lowercase isValidScheme


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D52455





More information about the cfe-commits mailing list