From e47e67ab2781a706fb24df317ab5b2a37669dcc8 Mon Sep 17 00:00:00 2001 From: Ellis Hoag Date: Tue, 5 Sep 2023 10:54:07 -0700 Subject: [PATCH] [GlobPattern][Docs] End list with "." Apparently we can use "." to end a list and start a new paragraph: https://www.doxygen.nl/manual/lists.html --- llvm/include/llvm/Support/GlobPattern.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/Support/GlobPattern.h b/llvm/include/llvm/Support/GlobPattern.h index eb4735f39c8e5..5a64d3ae72939 100644 --- a/llvm/include/llvm/Support/GlobPattern.h +++ b/llvm/include/llvm/Support/GlobPattern.h @@ -32,9 +32,10 @@ namespace llvm { /// supported. /// * \p "{,...}" 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 "]". @@ -42,7 +43,7 @@ namespace llvm { /// * 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 {