From 9caebcf3a89f3ff52be7811e2daadc35eebcdc4e Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 14 Oct 2022 08:51:34 -0700 Subject: [PATCH] Add missing include to fix the modules build --- llvm/include/llvm/IR/ModRef.h | 2 ++ llvm/include/llvm/Support/SaveAndRestore.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/llvm/include/llvm/IR/ModRef.h b/llvm/include/llvm/IR/ModRef.h index 1e31427..fe0c483 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 2f5dc04..9ceceb2 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 + namespace llvm { /// A utility class that uses RAII to save and restore the value of a variable. -- 2.7.4