Author: sylvestre Date: Thu Mar 3 14:54:26 2016 New Revision: 262654 URL: http://llvm.org/viewvc/llvm-project?rev=262654&view=rev Log: Fix two minor syntax issues in the documentation
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/misc-forward-declaration-namespace.rst clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-deprecated-headers.rst Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/misc-forward-declaration-namespace.rst URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/misc-forward-declaration-namespace.rst?rev=262654&r1=262653&r2=262654&view=diff ============================================================================== --- clang-tools-extra/trunk/docs/clang-tidy/checks/misc-forward-declaration-namespace.rst (original) +++ clang-tools-extra/trunk/docs/clang-tidy/checks/misc-forward-declaration-namespace.rst Thu Mar 3 14:54:26 2016 @@ -10,6 +10,7 @@ declaration/definition with the same nam the forward declaration is in a potentially wrong namespace. .. code:: c++ + namespace na { struct A; } namespace nb { struct A {}; } nb::A a; Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-deprecated-headers.rst URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-deprecated-headers.rst?rev=262654&r1=262653&r2=262654&view=diff ============================================================================== --- clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-deprecated-headers.rst (original) +++ clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-deprecated-headers.rst Thu Mar 3 14:54:26 2016 @@ -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] _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits