[clang-tools-extra] r265539 - [clang-tidy] fix building clang-tidy documentation.

Etienne Bergeron via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 6 06:57:26 PDT 2016


Author: etienneb
Date: Wed Apr  6 08:57:22 2016
New Revision: 265539

URL: http://llvm.org/viewvc/llvm-project?rev=265539&view=rev
Log:
[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

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

Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/list.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/list.rst?rev=265539&r1=265538&r2=265539&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/list.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/list.rst Wed Apr  6 08:57:22 2016
@@ -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

Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/readability-static-definition-in-anonymous-namespace.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/readability-static-definition-in-anonymous-namespace.rst?rev=265539&r1=265538&r2=265539&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/readability-static-definition-in-anonymous-namespace.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/readability-static-definition-in-anonymous-namespace.rst Wed Apr  6 08:57:22 2016
@@ -9,6 +9,7 @@ In this case, ``static`` is redundant, b
 visibility of definitions to a single translation unit.
 
 .. code:: c++
+
   namespace {
     static int a = 1; // Warning.
     static const b = 1; // Warning.




More information about the cfe-commits mailing list