Skip to content

Commit 1079f7a

Browse files
authored
[NFCI][lldb][test] Add missing <functional> includes (llvm#165772)
`std::ref()` is provided in `<functional>` and with recent libc++ changes it no longer seems to be included transitively. Fix by including explicitly.
1 parent 3475b3f commit 1079f7a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include <cstdint>
2+
#include <functional>
23
#include <mutex>
34
#include <thread>
45

lldb/test/Shell/Register/Inputs/x86-multithread-write.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include <cinttypes>
22
#include <cstdint>
33
#include <cstdio>
4+
#include <functional>
45
#include <mutex>
56
#include <thread>
67

0 commit comments

Comments
 (0)