This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs".
The branch, master has been updated via de876346e0e8b8c20ca3ffbe0ada7957a64dd108 (commit) from ce4eb85492eb472ad54e7b227788cb418591d982 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit de876346e0e8b8c20ca3ffbe0ada7957a64dd108 Author: Jason Merrill <ja...@redhat.com> Date: Thu Jan 11 16:13:45 2024 -0500 codingconventions: update to C++11 diff --git a/htdocs/codingconventions.html b/htdocs/codingconventions.html index c16571ca..e96f5164 100644 --- a/htdocs/codingconventions.html +++ b/htdocs/codingconventions.html @@ -234,17 +234,17 @@ latest ISO C and C++ standards. <p> The directories <code>gcc</code>, <code>libcpp</code> and <code>fixincludes</code> -may use C++03. +may use C++11. They may also use the <code>long long</code> type if the host C++ compiler supports it. -These directories should use reasonably portable parts of C++03, +These directories should use reasonably portable parts of C++11, so that it is possible to build GCC with C++ compilers other than GCC itself. If testing reveals that reasonably recent versions of non-GCC C++ compilers cannot compile GCC, then GCC code should be adjusted accordingly. (Avoiding unusual language constructs helps immensely.) Furthermore, -these directories <em>should</em> also be compatible with C++11. +these directories <em>should</em> also be compatible with later C++ standards. </p> <p> @@ -1503,6 +1503,7 @@ Definitions within the body of a namespace are not indented. the body of a for-statement.</p> <blockquote><pre><code>auto l = [&] (tree arg) + mutable -> int { ... }; ----------------------------------------------------------------------- Summary of changes: htdocs/codingconventions.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) hooks/post-receive -- gcc-wwwdocs