[llvm] aaa0906 - [GlobPattern][Docs] End list with "." (#65397)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 8 17:37:41 PDT 2023
Author: Ellis Hoag
Date: 2023-09-08T17:37:37-07:00
New Revision: aaa09063a8f0a8beeadb0cee706dd909486de6ab
URL: https://github.com/llvm/llvm-project/commit/aaa09063a8f0a8beeadb0cee706dd909486de6ab
DIFF: https://github.com/llvm/llvm-project/commit/aaa09063a8f0a8beeadb0cee706dd909486de6ab.diff
LOG: [GlobPattern][Docs] End list with "." (#65397)
Apparently we can use "." to end a list and start a new paragraph:
https://www.doxygen.nl/manual/lists.html
Added:
Modified:
llvm/include/llvm/Support/GlobPattern.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/GlobPattern.h b/llvm/include/llvm/Support/GlobPattern.h
index eb4735f39c8e54c..5a64d3ae729397e 100644
--- a/llvm/include/llvm/Support/GlobPattern.h
+++ b/llvm/include/llvm/Support/GlobPattern.h
@@ -32,9 +32,10 @@ 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 "]".
@@ -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 {
More information about the llvm-commits
mailing list