From 4098de40621aa94377d20fbb8b33682f35ee1a0c Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 3 Mar 2016 20:54:26 +0000 Subject: [PATCH] Fix two minor syntax issues in the documentation llvm-svn: 262654 --- .../docs/clang-tidy/checks/misc-forward-declaration-namespace.rst | 1 + .../docs/clang-tidy/checks/modernize-deprecated-headers.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 c8527b0..7db873e 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 9a06316..4f2b683 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] -- 2.7.4