[llvm] 9caebcf - Add missing include to fix the modules build
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 14 08:52:06 PDT 2022
Author: Adrian Prantl
Date: 2022-10-14T08:51:55-07:00
New Revision: 9caebcf3a89f3ff52be7811e2daadc35eebcdc4e
URL: https://github.com/llvm/llvm-project/commit/9caebcf3a89f3ff52be7811e2daadc35eebcdc4e
DIFF: https://github.com/llvm/llvm-project/commit/9caebcf3a89f3ff52be7811e2daadc35eebcdc4e.diff
LOG: Add missing include to fix the modules build
Added:
Modified:
llvm/include/llvm/IR/ModRef.h
llvm/include/llvm/Support/SaveAndRestore.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/ModRef.h b/llvm/include/llvm/IR/ModRef.h
index 1e314272e05ce..fe0c48339318a 100644
--- a/llvm/include/llvm/IR/ModRef.h
+++ b/llvm/include/llvm/IR/ModRef.h
@@ -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 {
diff --git a/llvm/include/llvm/Support/SaveAndRestore.h b/llvm/include/llvm/Support/SaveAndRestore.h
index 2f5dc04e4bede..9ceceb2a571b1 100644
--- a/llvm/include/llvm/Support/SaveAndRestore.h
+++ b/llvm/include/llvm/Support/SaveAndRestore.h
@@ -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.
More information about the llvm-commits
mailing list