Skip to content

Commit

Permalink
[GlobPattern][Docs] End list with "." (#65397)
Browse files Browse the repository at this point in the history
Apparently we can use "." to end a list and start a new paragraph:
https://www.doxygen.nl/manual/lists.html
  • Loading branch information
ellishg committed Sep 9, 2023
1 parent 1029fd0 commit aaa0906
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions llvm/include/llvm/Support/GlobPattern.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,18 @@ namespace llvm {
/// supported.
/// * \p "{<glob>,...}" matches one of the globs in the list. Nested brace
/// expansions are not supported. If \p MaxSubPatterns is empty then
/// characters \p "{,}" are treated as literals.
/// brace expansions are not supported and characters \p "{,}" are treated as
/// literals.
/// * \p "\" escapes the next character so it is treated as a literal.
///
/// .
/// Some known edge cases are:
/// * \p "]" is allowed as the first character in a character class, i.e.,
/// \p "[]]" is valid and matches the literal \p "]".
/// * The empty character class, i.e., \p "[]", is invalid.
/// * Empty or singleton brace expansions, e.g., \p "{}", \p "{a}", are invalid.
/// * \p "}" and \p "," that are not inside a brace expansion are taken as
/// literals, e.g., \p ",}" is valid but \p "{" is not.
///
/// .
/// For example, \p "*[/\\]foo.{c,cpp}" will match (unix or windows) paths to
/// all files named \p "foo.c" or \p "foo.cpp".
class GlobPattern {
Expand Down

0 comments on commit aaa0906

Please sign in to comment.