[libcxx] r324851 - Fix a typo in the synopsis comment. NFC. Thanks to K-ballo for the catch

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 11 13:51:49 PST 2018


Author: marshall
Date: Sun Feb 11 13:51:49 2018
New Revision: 324851

URL: http://llvm.org/viewvc/llvm-project?rev=324851&view=rev
Log:
Fix a typo in the synopsis comment. NFC. Thanks to K-ballo for the catch

Modified:
    libcxx/trunk/include/utility

Modified: libcxx/trunk/include/utility
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/utility?rev=324851&r1=324850&r2=324851&view=diff
==============================================================================
--- libcxx/trunk/include/utility (original)
+++ libcxx/trunk/include/utility Sun Feb 11 13:51:49 2018
@@ -52,7 +52,7 @@ template <class T>
     >::type
     move_if_noexcept(T& x) noexcept; // constexpr in C++14
 
-template <class T> constexpr add_const<T>_t& as_const(T& t) noexcept;      // C++17
+template <class T> constexpr add_const_t<T>& as_const(T& t) noexcept;      // C++17
 template <class T>                      void as_const(const T&&) = delete; // C++17
 
 template <class T> typename add_rvalue_reference<T>::type declval() noexcept;




More information about the cfe-commits mailing list