]> granicus.if.org Git - llvm/commit
[AVR] Create a TargetInfo header. NFC
authorRichard Trieu <rtrieu@google.com>
Tue, 14 May 2019 22:41:58 +0000 (22:41 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 14 May 2019 22:41:58 +0000 (22:41 +0000)
commit3b6d81c43246a85dffdd7b18da3b9cbc60cf6b4b
tree0ff1282d267dbb9897e76de4b727eaae2cd7f8e6
parent321e372b77cf40474796f7341a36b539f91b64f9
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360721 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AVR/AVRAsmPrinter.cpp
lib/Target/AVR/AVRTargetMachine.cpp
lib/Target/AVR/AsmParser/AVRAsmParser.cpp
lib/Target/AVR/Disassembler/AVRDisassembler.cpp
lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.cpp
lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h
lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
lib/Target/AVR/TargetInfo/AVRTargetInfo.h [new file with mode: 0644]