summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2016-03-03 20:54:26 +0000
committerSylvestre Ledru <sylvestre@debian.org>2016-03-03 20:54:26 +0000
commit4098de40621aa94377d20fbb8b33682f35ee1a0c (patch)
tree261c2d9e3f9cc59354270ba8efcd95d71b96a92f /clang-tools-extra/docs/clang-tidy
parentec9957bd0be2c43b6fd6ca13f786a86e83eefc3c (diff)
downloadbcm5719-llvm-4098de40621aa94377d20fbb8b33682f35ee1a0c.tar.gz
bcm5719-llvm-4098de40621aa94377d20fbb8b33682f35ee1a0c.zip
Fix two minor syntax issues in the documentation
llvm-svn: 262654
Diffstat (limited to 'clang-tools-extra/docs/clang-tidy')
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/misc-forward-declaration-namespace.rst1
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/modernize-deprecated-headers.rst2
2 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/misc-forward-declaration-namespace.rst b/clang-tools-extra/docs/clang-tidy/checks/misc-forward-declaration-namespace.rst
index c8527b09fcd..7db873e0edb 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc-forward-declaration-namespace.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/misc-forward-declaration-namespace.rst
@@ -10,6 +10,7 @@ declaration/definition with the same name existing, which could indicate that
the forward declaration is in a potentially wrong namespace.
.. code:: c++
+
namespace na { struct A; }
namespace nb { struct A {}; }
nb::A a;
diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize-deprecated-headers.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize-deprecated-headers.rst
index 9a06316e332..4f2b683ffbb 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/modernize-deprecated-headers.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/modernize-deprecated-headers.rst
@@ -1,7 +1,7 @@
.. title:: clang-tidy - modernize-deprecated-headers
modernize-deprecated-headers
-==========================
+============================
Some headers from C library were deprecated in C++ and are no longer welcome in
C++ codebases. For more details refer to the C++ 14 Standard [depr.c.headers]
OpenPOWER on IntegriCloud