diff options
author | Reid Kleckner <rnk@google.com> | 2015-09-03 16:41:50 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2015-09-03 16:41:50 +0000 |
commit | 1f13d4789fb9178b84819b7bcf1a38f01343a043 (patch) | |
tree | c13584a7c4442fae5f66959775eae7ad1b674b5c /llvm/lib/MC/MCContext.cpp | |
parent | c7a52d594a6cc40477e05f88f63e8661deee6660 (diff) | |
download | bcm5719-llvm-1f13d4789fb9178b84819b7bcf1a38f01343a043.tar.gz bcm5719-llvm-1f13d4789fb9178b84819b7bcf1a38f01343a043.zip |
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.
llvm-svn: 246784
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
-rw-r--r-- | llvm/lib/MC/MCContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp index c601c56f395..9149f895040 100644 --- a/llvm/lib/MC/MCContext.cpp +++ b/llvm/lib/MC/MCContext.cpp @@ -23,6 +23,7 @@ #include "llvm/MC/MCSymbolCOFF.h" #include "llvm/MC/MCSymbolELF.h" #include "llvm/MC/MCSymbolMachO.h" +#include "llvm/Support/COFF.h" #include "llvm/Support/ELF.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/FileSystem.h" |