MCObjectWriter.h - remove unnecessary includes. NFC
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 16 Apr 2020 13:55:39 +0000 (14:55 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 16 Apr 2020 13:59:49 +0000 (14:59 +0100)
The EndianStream.h/raw_ostream.h headers should be removed as well but we have a lot of other files that are implicitly relying on them being present.

llvm/include/llvm/MC/MCObjectWriter.h

index 2547b2b..0d74201 100644 (file)
@@ -9,13 +9,10 @@
 #ifndef LLVM_MC_MCOBJECTWRITER_H
 #define LLVM_MC_MCOBJECTWRITER_H
 
-#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/Triple.h"
 #include "llvm/Support/Endian.h"
 #include "llvm/Support/EndianStream.h"
 #include "llvm/Support/raw_ostream.h"
-#include <cassert>
 #include <cstdint>
 
 namespace llvm {