[PATCH] D45764: [clangd][tests] Fix delimiter handling

Jan Korous via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 19 06:20:31 PDT 2018


jkorous added a comment.

[ultranit] Sorry, just to be sure - did you really mean any number of dashes

  if (LineRef.startswith("-") && LineRef.find_first_not_of('-') == llvm::StringRef::npos)

or at least three?

  if (LineRef.startswith("---") && LineRef.find_first_not_of('-') == llvm::StringRef::npos)


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45764





More information about the cfe-commits mailing list