summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2019-05-14 22:41:58 +0000
committerRichard Trieu <rtrieu@google.com>2019-05-14 22:41:58 +0000
commite982b42003cb47a7b24ba17c8b8fc836693329fd (patch)
tree2b2c0877b6575c5363a99f23660bcc93b72ab781 /llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
parent048a97bca4da64418fd270a2bc3841ca0f602087 (diff)
downloadbcm5719-llvm-e982b42003cb47a7b24ba17c8b8fc836693329fd.tar.gz
bcm5719-llvm-e982b42003cb47a7b24ba17c8b8fc836693329fd.zip
[AVR] Create a TargetInfo header. NFC
Move the declarations of getThe<Name>Target() functions into a new header in TargetInfo and make users of these functions include this new header. This fixes a layering problem. llvm-svn: 360721
Diffstat (limited to 'llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp')
-rw-r--r--llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp b/llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
index cb196e35fc6..c62d5cb85bc 100644
--- a/llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
+++ b/llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/IR/Module.h"
+#include "TargetInfo/AVRTargetInfo.h"
#include "llvm/Support/TargetRegistry.h"
namespace llvm {
Target &getTheAVRTarget() {
OpenPOWER on IntegriCloud