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

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 19 06:36:56 PDT 2018


sammccall added a comment.

In https://reviews.llvm.org/D45764#1072067, @jkorous wrote:

> [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)
>


I meant any number, but at-least-three is fine too! Up to you.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45764





More information about the cfe-commits mailing list