From e982b42003cb47a7b24ba17c8b8fc836693329fd Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Tue, 14 May 2019 22:41:58 +0000 Subject: [AVR] Create a TargetInfo header. NFC Move the declarations of getTheTarget() 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 --- llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp') 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() { -- cgit v1.2.3