[clang-tidy] fix building clang-tidy documentation.

Summary:
The clang-tidy documentation can't be generated because of broken links.

```
Warning, treated as error:
/home/etienneb/llvm/llvm/tools/clang/tools/extra/docs/clang-tidy/checks/google-readability-function-size.rst:: WARNING: document isn't included in any toctree
```

Reviewers: alexfh

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D18803

llvm-svn: 265539
This commit is contained in:
Etienne Bergeron 2016-04-06 13:57:22 +00:00
parent ff90c60a78
commit 500846c283
2 changed files with 3 additions and 2 deletions

View File

@ -31,9 +31,9 @@ Clang-Tidy Checks
google-build-using-namespace
google-explicit-constructor
google-global-names-in-headers
google-readability-braces-around-statements (redirects to readability-braces-around-statements) <readability-braces-around-statements>
google-readability-braces-around-statements (redirects to readability-braces-around-statements) <google-readability-braces-around-statements>
google-readability-casting
google-readability-function-size (redirects to readability-function-size) <readability-function-size>
google-readability-function-size (redirects to readability-function-size) <google-readability-function-size>
google-readability-namespace-comments
google-readability-redundant-smartptr-get
google-readability-todo

View File

@ -9,6 +9,7 @@ In this case, ``static`` is redundant, because anonymous namespace limits the
visibility of definitions to a single translation unit.
.. code:: c++
namespace {
static int a = 1; // Warning.
static const b = 1; // Warning.