[libcxx-commits] [libcxx] ad2b7a1 - [libc++][NFC] Add #endif comment for long #if-#endif block

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 9 11:43:16 PDT 2021


Author: Louis Dionne
Date: 2021-09-09T14:43:10-04:00
New Revision: ad2b7a14f09eaf009e35c8c9748e1e0c8358252e

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

LOG: [libc++][NFC] Add #endif comment for long #if-#endif block

Added: 
    

Modified: 
    libcxx/include/format

Removed: 
    


################################################################################
diff  --git a/libcxx/include/format b/libcxx/include/format
index 90547e2ce8da..25350f7bfb26 100644
--- a/libcxx/include/format
+++ b/libcxx/include/format
@@ -924,7 +924,7 @@ formatted_size(locale __loc, wstring_view __fmt, const _Args&... __args) {
       .size();
 }
 
-#endif
+#endif // _LIBCPP_HAS_NO_LOCALIZATION
 
 #endif // !defined(_LIBCPP_HAS_NO_CONCEPTS)
 #endif //_LIBCPP_STD_VER > 17


        


More information about the libcxx-commits mailing list