Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions llvm/include/llvm/CodeGen/ByteProvider.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#ifndef LLVM_CODEGEN_BYTEPROVIDER_H
#define LLVM_CODEGEN_BYTEPROVIDER_H

#include "llvm/Support/DataTypes.h"
#include <optional>
#include <type_traits>

Expand Down
1 change: 1 addition & 0 deletions llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#ifndef LLVM_PROFILEDATA_COVERAGE_MCDCTYPES_H
#define LLVM_PROFILEDATA_COVERAGE_MCDCTYPES_H

#include "llvm/Support/DataTypes.h"
#include <array>
#include <cassert>
#include <type_traits>
Expand Down
6 changes: 4 additions & 2 deletions llvm/include/llvm/Support/thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

#include "llvm/Config/llvm-config.h"
#include <optional>
#include <tuple>
#include <utility>

#ifdef _WIN32
typedef unsigned long DWORD;
Expand Down Expand Up @@ -202,8 +204,8 @@ class thread {
};

namespace this_thread {
inline thread::id get_id() { return std::this_thread::get_id(); }
}
inline thread::id get_id() { return std::this_thread::get_id(); }
} // namespace this_thread

#endif // LLVM_ON_UNIX || _WIN32

Expand Down