[libcxx-commits] [libcxx] f40bba4 - [libc++][NFC] Move misplaced comment about implementation of ctype<wchar_t>

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 9 10:29:34 PDT 2021


Author: Louis Dionne
Date: 2021-09-09T13:29:24-04:00
New Revision: f40bba48a593d4297a6d0b4d1534082858b1d0ac

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

LOG: [libc++][NFC] Move misplaced comment about implementation of ctype<wchar_t>

Added: 
    

Modified: 
    libcxx/src/locale.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp
index 05801f1092c5..79650963d574 100644
--- a/libcxx/src/locale.cpp
+++ b/libcxx/src/locale.cpp
@@ -747,8 +747,6 @@ collate_byname<wchar_t>::do_transform(const char_type* lo, const char_type* hi)
     return out;
 }
 
-// template <> class ctype<wchar_t>;
-
 const ctype_base::mask ctype_base::space;
 const ctype_base::mask ctype_base::print;
 const ctype_base::mask ctype_base::cntrl;
@@ -762,6 +760,8 @@ const ctype_base::mask ctype_base::blank;
 const ctype_base::mask ctype_base::alnum;
 const ctype_base::mask ctype_base::graph;
 
+// template <> class ctype<wchar_t>;
+
 locale::id ctype<wchar_t>::id;
 
 ctype<wchar_t>::~ctype()


        


More information about the libcxx-commits mailing list