[libcxx-commits] [libcxx] 19e21d9 - [libc++] Add auto to the list of required extensions in C++03

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 23 11:49:39 PDT 2022


Author: Nikolas Klauser
Date: 2022-05-23T20:48:53+02:00
New Revision: 19e21d91bc174559a5aa0653a5bfe74d8cba93ad

URL: https://github.com/llvm/llvm-project/commit/19e21d91bc174559a5aa0653a5bfe74d8cba93ad
DIFF: https://github.com/llvm/llvm-project/commit/19e21d91bc174559a5aa0653a5bfe74d8cba93ad.diff

LOG: [libc++] Add auto to the list of required extensions in C++03

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

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D126165

Added: 
    

Modified: 
    libcxx/docs/DesignDocs/ExtendedCXX03Support.rst

Removed: 
    


################################################################################
diff  --git a/libcxx/docs/DesignDocs/ExtendedCXX03Support.rst b/libcxx/docs/DesignDocs/ExtendedCXX03Support.rst
index e9e3fc4d23032..213cf2dab01e1 100644
--- a/libcxx/docs/DesignDocs/ExtendedCXX03Support.rst
+++ b/libcxx/docs/DesignDocs/ExtendedCXX03Support.rst
@@ -27,12 +27,12 @@ libc++ expects Clang  to provide are:
 * 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.
 


        


More information about the libcxx-commits mailing list