[llvm] f0daf24 - MachineMemOperand.h - replace Type.h with full GlobalValue.h include to fix -Wundefined-inline warnings.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed May 20 06:39:23 PDT 2020
Author: Simon Pilgrim
Date: 2020-05-20T14:38:52+01:00
New Revision: f0daf240c153022dae25e0da2903593484f344be
URL: https://github.com/llvm/llvm-project/commit/f0daf240c153022dae25e0da2903593484f344be
DIFF: https://github.com/llvm/llvm-project/commit/f0daf240c153022dae25e0da2903593484f344be.diff
LOG: MachineMemOperand.h - replace Type.h with full GlobalValue.h include to fix -Wundefined-inline warnings.
Added:
Modified:
llvm/include/llvm/CodeGen/MachineMemOperand.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/MachineMemOperand.h b/llvm/include/llvm/CodeGen/MachineMemOperand.h
index bbfa2385caa6..d8862d6c3386 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<Value*>
#include "llvm/Support/AtomicOrdering.h"
#include "llvm/Support/DataTypes.h"
More information about the llvm-commits
mailing list