Skip to content

Commit 4a46fd5

Browse files
committed
[GlobPattern][docs] Fix poorly rendered docs
In #65397 I attempted to fix these docs by adding a "." but that didn't seem to work. This tries to use two newlines to divide paragraphs.
1 parent 1258c3f commit 4a46fd5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/include/llvm/Support/GlobPattern.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,17 @@ namespace llvm {
3535
/// brace expansions are not supported and characters \p "{,}" are treated as
3636
/// literals.
3737
/// * \p "\" escapes the next character so it is treated as a literal.
38-
/// .
38+
///
39+
///
3940
/// Some known edge cases are:
4041
/// * \p "]" is allowed as the first character in a character class, i.e.,
4142
/// \p "[]]" is valid and matches the literal \p "]".
4243
/// * The empty character class, i.e., \p "[]", is invalid.
4344
/// * Empty or singleton brace expansions, e.g., \p "{}", \p "{a}", are invalid.
4445
/// * \p "}" and \p "," that are not inside a brace expansion are taken as
4546
/// literals, e.g., \p ",}" is valid but \p "{" is not.
46-
/// .
47+
///
48+
///
4749
/// For example, \p "*[/\\]foo.{c,cpp}" will match (unix or windows) paths to
4850
/// all files named \p "foo.c" or \p "foo.cpp".
4951
class GlobPattern {

0 commit comments

Comments
 (0)