aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/clang-tidy/google/GlobalNamesInHeadersCheck.h2
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/google-global-names-in-headers.rst10
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/google-readability-todo.rst3
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/google-runtime-int.rst2
4 files changed, 15 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/google/GlobalNamesInHeadersCheck.h b/clang-tools-extra/clang-tidy/google/GlobalNamesInHeadersCheck.h
index 1320b49..79a6e28 100644
--- a/clang-tools-extra/clang-tidy/google/GlobalNamesInHeadersCheck.h
+++ b/clang-tools-extra/clang-tidy/google/GlobalNamesInHeadersCheck.h
@@ -23,7 +23,7 @@ namespace readability {
///
/// The check supports these options:
/// - `HeaderFileExtensions`: a comma-separated list of filename extensions
-/// of header files (The filename extensions should not contain "." prefix).
+/// of header files (the filename extensions should not contain "." prefix).
/// "h" by default.
/// For extension-less header files, using an empty string or leaving an
/// empty string between "," if there are other filename extensions.
diff --git a/clang-tools-extra/docs/clang-tidy/checks/google-global-names-in-headers.rst b/clang-tools-extra/docs/clang-tidy/checks/google-global-names-in-headers.rst
index 33a7512..02aa52c 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/google-global-names-in-headers.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/google-global-names-in-headers.rst
@@ -5,3 +5,13 @@ google-global-names-in-headers
Flag global namespace pollution in header files.
Right now it only triggers on ``using`` declarations and directives.
+
+The check supports these options:
+ - `HeaderFileExtensions`: a comma-separated list of filename extensions
+ of header files (the filename extensions should not contain "." prefix).
+ "h" by default.
+ For extension-less header files, using an empty string or leaving an
+ empty string between "," if there are other filename extensions.
+
+The relevant style guide section is
+https://google.github.io/styleguide/cppguide.html#Namespaces.
diff --git a/clang-tools-extra/docs/clang-tidy/checks/google-readability-todo.rst b/clang-tools-extra/docs/clang-tidy/checks/google-readability-todo.rst
index 86c04a8..159d2b4 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/google-readability-todo.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/google-readability-todo.rst
@@ -5,4 +5,7 @@ google-readability-todo
Finds TODO comments without a username or bug number.
+The relevant style guide section is
+https://google.github.io/styleguide/cppguide.html#TODO_Comments.
+
Corresponding cpplint.py check: `readability/todo`
diff --git a/clang-tools-extra/docs/clang-tidy/checks/google-runtime-int.rst b/clang-tools-extra/docs/clang-tidy/checks/google-runtime-int.rst
index eace60b9..89072f1 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/google-runtime-int.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/google-runtime-int.rst
@@ -7,6 +7,6 @@ Finds uses of ``short``, ``long`` and ``long long`` and suggest replacing them
with ``u?intXX(_t)?``.
The corresponding style guide rule:
-https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Integer_Types.
+https://google.github.io/styleguide/cppguide.html#Integer_Types.
Correspondig cpplint.py check: `runtime/int`.