[llvm] Include <chrono> for system_clock and now (#42425)

This commit is contained in:
Lily Wang 2024-12-01 20:36:01 -08:00 committed by GitHub
parent 77a082a1fd
commit abd3bf17ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff --git a/lldb/tools/lldb-dap/ProgressEvent.h b/lldb/tools/lldb-dap/ProgressEvent.h
index dac2197..72317b8 100644
--- a/lldb/tools/lldb-dap/ProgressEvent.h
+++ b/lldb/tools/lldb-dap/ProgressEvent.h
@@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
#include <atomic>
+#include <chrono>
#include <mutex>
#include <optional>
#include <queue>

View File

@ -16,6 +16,7 @@ vcpkg_from_github(
75711.patch # [clang] Add intrin0.h header to mimic intrin0.h used by MSVC STL for clang-cl #75711
79694.patch # [SEH] Ignore EH pad check for internal intrinsics #79694
82407.patch # [Clang][Sema] Fix incorrect rejection default construction of union with nontrivial member #82407
add-include-chrono.patch # https://github.com/llvm/llvm-project/pull/118059
)
vcpkg_check_features(

View File

@ -1,7 +1,7 @@
{
"name": "llvm",
"version": "18.1.6",
"port-version": 2,
"port-version": 3,
"description": "The LLVM Compiler Infrastructure.",
"homepage": "https://llvm.org",
"license": "Apache-2.0",

View File

@ -5582,7 +5582,7 @@
},
"llvm": {
"baseline": "18.1.6",
"port-version": 2
"port-version": 3
},
"lmdb": {
"baseline": "0.9.33",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4037972c311903335c3cca2fbb4683570f309ff9",
"version": "18.1.6",
"port-version": 3
},
{
"git-tree": "8f22f1c97f0649913c8c97c6d16d448d76e1e81b",
"version": "18.1.6",