Skip to content

Commit 8b86507

Browse files
committed
Include Host.h for getProcessTriple
llvm/llvm-project@213aea4c5836 means this header doesn't get implicitly transitively included anymore, so we have to include it explicitly.
1 parent afa2440 commit 8b86507

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/Sema/NameBinding.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include "llvm/ADT/TinyPtrVector.h"
3434
#include "llvm/ADT/Twine.h"
3535
#include "llvm/Support/Debug.h"
36+
#include "llvm/Support/Host.h"
3637
#include "llvm/Support/Path.h"
3738
#include "llvm/Support/SaveAndRestore.h"
3839
#include <algorithm>

lib/Serialization/SerializedModuleLoader.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "llvm/ADT/SmallString.h"
2424
#include "llvm/ADT/StringSet.h"
2525
#include "llvm/Support/FileSystem.h"
26+
#include "llvm/Support/Host.h"
2627
#include "llvm/Support/MemoryBuffer.h"
2728
#include "llvm/Support/Path.h"
2829
#include "llvm/Support/Debug.h"

0 commit comments

Comments
 (0)