llvm.org GIT mirror llvm / 412db35
Sink COFF.h MC include into .cpp files This prevents MC clients from getting COFF.h, which conflicts with winnt.h macros. Also a minor IWYU cleanup. Now the only public headers including COFF.h are in Object, and they actually need it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246784 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Kleckner 5 years ago
6 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1515
1616 #include "llvm/ADT/StringRef.h"
1717 #include "llvm/MC/MCSection.h"
18 #include "llvm/Support/COFF.h"
1918
2019 namespace llvm {
2120 class MCSymbol;
3131 #include "llvm/MC/MCStreamer.h"
3232 #include "llvm/MC/MCSymbolELF.h"
3333 #include "llvm/MC/MCValue.h"
34 #include "llvm/Support/COFF.h"
3435 #include "llvm/Support/Dwarf.h"
3536 #include "llvm/Support/ELF.h"
3637 #include "llvm/Support/ErrorHandling.h"
2222 #include "llvm/MC/MCSymbolCOFF.h"
2323 #include "llvm/MC/MCSymbolELF.h"
2424 #include "llvm/MC/MCSymbolMachO.h"
25 #include "llvm/Support/COFF.h"
2526 #include "llvm/Support/ELF.h"
2627 #include "llvm/Support/ErrorHandling.h"
2728 #include "llvm/Support/FileSystem.h"
1515 #include "llvm/MC/MCSectionCOFF.h"
1616 #include "llvm/MC/MCSectionELF.h"
1717 #include "llvm/MC/MCSectionMachO.h"
18 #include "llvm/Support/COFF.h"
1819 using namespace llvm;
1920
2021 static bool useCompactUnwind(const Triple &T) {
1010 #include "llvm/MC/MCAsmInfo.h"
1111 #include "llvm/MC/MCContext.h"
1212 #include "llvm/MC/MCSymbol.h"
13 #include "llvm/Support/COFF.h"
1314 #include "llvm/Support/raw_ostream.h"
1415 using namespace llvm;
1516
1515 #include "llvm/MC/MCSectionCOFF.h"
1616 #include "llvm/MC/MCSectionELF.h"
1717 #include "llvm/MC/MCValue.h"
18 #include "llvm/Support/COFF.h"
1819 #include "llvm/Support/Dwarf.h"
1920 #include "llvm/Target/TargetLowering.h"
2021