Add missing include to fix the modules build
authorAdrian Prantl <aprantl@apple.com>
Fri, 14 Oct 2022 15:51:34 +0000 (08:51 -0700)
committerAdrian Prantl <aprantl@apple.com>
Fri, 14 Oct 2022 15:51:55 +0000 (08:51 -0700)
llvm/include/llvm/IR/ModRef.h
llvm/include/llvm/Support/SaveAndRestore.h

index 1e31427..fe0c483 100644 (file)
@@ -15,6 +15,8 @@
 #define LLVM_IR_MODREF_H
 
 #include "llvm/ADT/BitmaskEnum.h"
+#include "llvm/ADT/Sequence.h"
+#include "llvm/Support/raw_ostream.h"
 
 namespace llvm {
 
index 2f5dc04..9ceceb2 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef LLVM_SUPPORT_SAVEANDRESTORE_H
 #define LLVM_SUPPORT_SAVEANDRESTORE_H
 
+#include <utility>
+
 namespace llvm {
 
 /// A utility class that uses RAII to save and restore the value of a variable.