summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy/checks/google-build-namespaces.rst
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2016-08-31 13:21:18 +0000
committerHaojian Wu <hokein@google.com>2016-08-31 13:21:18 +0000
commit997c31e54baee966ca7c68adf34947cd8c6c3bef (patch)
tree03bce6f7ec135215fa6a3789c150f6c28847b1e6 /clang-tools-extra/docs/clang-tidy/checks/google-build-namespaces.rst
parent544a8d03abcef460a7e97738ccfedb0c1830892c (diff)
downloadbcm5719-llvm-997c31e54baee966ca7c68adf34947cd8c6c3bef.tar.gz
bcm5719-llvm-997c31e54baee966ca7c68adf34947cd8c6c3bef.zip
[clang-tidy docs] Add missing option docs.
Reviewers: alexfh, Eugene.Zelenko, aaron.ballman Subscribers: aaron.ballman, cfe-commits Differential Revision: https://reviews.llvm.org/D23918 llvm-svn: 280236
Diffstat (limited to 'clang-tools-extra/docs/clang-tidy/checks/google-build-namespaces.rst')
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/google-build-namespaces.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/google-build-namespaces.rst b/clang-tools-extra/docs/clang-tidy/checks/google-build-namespaces.rst
index 4249c280233..69d124de688 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/google-build-namespaces.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/google-build-namespaces.rst
@@ -10,3 +10,14 @@ Finds anonymous namespaces in headers.
https://google.github.io/styleguide/cppguide.html#Namespaces
Corresponding cpplint.py check name: `build/namespaces`.
+
+Options
+-------
+
+.. option:: HeaderFileExtensions
+
+ A comma-separated list of filename extensions of header files (the filename
+ extensions should not include "." prefix). Default is "h,hh,hpp,hxx".
+ For header files without an extension, use an empty string (if there are no
+ other desired extensions) or leave an empty element in the list. e.g.,
+ "h,hh,hpp,hxx," (note the trailing comma).
OpenPOWER on IntegriCloud