[libcxx-commits] [libcxx] 1b53413 - [libcxx] Fix a missed case needing "system header" markings for init_priority(100)

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 8 10:36:39 PDT 2021


Author: Martin Storsjö
Date: 2021-10-08T20:35:55+03:00
New Revision: 1b53413a3848aa6e3250902c37cc0d9862c767b6

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

LOG: [libcxx] Fix a missed case needing "system header" markings for init_priority(100)

This was missed in D95972 / 7c49052b170f76f19be64a5572d31ad8f5df4e61,
as this codepath isn't exercised by CI yet.

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

Added: 
    

Modified: 
    libcxx/src/chrono.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/src/chrono.cpp b/libcxx/src/chrono.cpp
index 6f5d2ba7649b2..b5dd0eef3962c 100644
--- a/libcxx/src/chrono.cpp
+++ b/libcxx/src/chrono.cpp
@@ -80,7 +80,9 @@ class GetSystemTimeInit {
   GetSystemTimeAsFileTimePtr fp;
 };
 
+# 83 "chrono.cpp" 1 3
 GetSystemTimeInit GetSystemTimeAsFileTimeFunc _LIBCPP_INIT_PRIORITY_MAX;
+# 85 "chrono.cpp" 2
 } // namespace
 
 #endif


        


More information about the libcxx-commits mailing list