[clang-tidy] fix building clang-tidy documentation.
authorEtienne Bergeron <etienneb@google.com>
Wed, 6 Apr 2016 13:57:22 +0000 (13:57 +0000)
committerEtienne Bergeron <etienneb@google.com>
Wed, 6 Apr 2016 13:57:22 +0000 (13:57 +0000)
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

clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/readability-static-definition-in-anonymous-namespace.rst

index d7983c2..28d4915 100644 (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
index f1b0358..5e5d7fb 100644 (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.