[libcxx-commits] [PATCH] D126165: [libc++] Add auto to the list of required extensions in C++03

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 22 04:36:12 PDT 2022


philnik created this revision.
philnik added reviewers: ldionne, Mordante, var-const.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

We use `auto` in C++03, so we shouldn't say that we aren't.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126165

Files:
  libcxx/docs/DesignDocs/ExtendedCXX03Support.rst


Index: libcxx/docs/DesignDocs/ExtendedCXX03Support.rst
===================================================================
--- libcxx/docs/DesignDocs/ExtendedCXX03Support.rst
+++ libcxx/docs/DesignDocs/ExtendedCXX03Support.rst
@@ -27,12 +27,12 @@
 * Alias templates
 * defaulted and deleted Functions.
 * reference qualified Functions
+* ``auto``
 
 There are also features that Clang *does not* provide as an extension in C++03
 mode. These include:
 
 * ``constexpr`` and ``noexcept``
-* ``auto``
 *  Trailing return types.
 * ``>>`` without a space.
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126165.431227.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220522/a09ddf03/attachment.bin>


More information about the libcxx-commits mailing list