aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Pan <owenpiano@gmail.com>2023-12-30 01:30:59 -0800
committerOwen Pan <owenpiano@gmail.com>2023-12-30 01:32:10 -0800
commitbd3d358ec68f686a280ae628f9074fdff1f10fe9 (patch)
treef759b580b8503fb49018fbdab7ab52f147a99cad
parent3dc0638cfc19e140daff7bf1281648daca8212fa (diff)
downloadllvm-bd3d358ec68f686a280ae628f9074fdff1f10fe9.zip
llvm-bd3d358ec68f686a280ae628f9074fdff1f10fe9.tar.gz
llvm-bd3d358ec68f686a280ae628f9074fdff1f10fe9.tar.bz2
[clang-format][doc] Add the link to POSIX 2.13
-rw-r--r--clang/docs/ClangFormat.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/docs/ClangFormat.rst b/clang/docs/ClangFormat.rst
index 158a14af..8d4017b 100644
--- a/clang/docs/ClangFormat.rst
+++ b/clang/docs/ClangFormat.rst
@@ -142,8 +142,9 @@ names. It has the following format:
* The slash (``/``) is used as the directory separator.
* A pattern is relative to the directory of the ``.clang-format-ignore`` file
(or the root directory if the pattern starts with a slash).
-* Patterns follow the rules specified in POSIX 2.13.1, 2.13.2, and Rule 1 of
- 2.13.3.
+* Patterns follow the rules specified in `POSIX 2.13.1, 2.13.2, and Rule 1 of
+ 2.13.3 <https://pubs.opengroup.org/onlinepubs/9699919799/utilities/
+ V3_chap02.html#tag_18_13>`_.
* A pattern is negated if it starts with a bang (``!``).
To match all files in a directory, use e.g. ``foo/bar/*``. To match all files in