Fix two minor syntax issues in the documentation

llvm-svn: 262654
This commit is contained in:
Sylvestre Ledru 2016-03-03 20:54:26 +00:00
parent ec9957bd0b
commit 4098de4062
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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]