From f0daf240c153022dae25e0da2903593484f344be Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 20 May 2020 14:38:25 +0100 Subject: [PATCH] MachineMemOperand.h - replace Type.h with full GlobalValue.h include to fix -Wundefined-inline warnings. --- llvm/include/llvm/CodeGen/MachineMemOperand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/MachineMemOperand.h b/llvm/include/llvm/CodeGen/MachineMemOperand.h index bbfa238..d8862d6 100644 --- a/llvm/include/llvm/CodeGen/MachineMemOperand.h +++ b/llvm/include/llvm/CodeGen/MachineMemOperand.h @@ -18,7 +18,7 @@ #include "llvm/ADT/BitmaskEnum.h" #include "llvm/ADT/PointerUnion.h" #include "llvm/CodeGen/PseudoSourceValue.h" -#include "llvm/IR/Type.h" +#include "llvm/IR/GlobalValue.h" #include "llvm/IR/Value.h" // PointerLikeTypeTraits #include "llvm/Support/AtomicOrdering.h" #include "llvm/Support/DataTypes.h" -- 2.7.4