MCTargetOptionsCommandFlags.h - remove unnecessary includes. NFC.

Replace with MCTargetOptions forward declaration and move includes down to MCTargetOptionsCommandFlags.cpp
This commit is contained in:
Simon Pilgrim 2020-05-19 15:04:05 +01:00
parent 64ba6ee160
commit f3b20c2ae7
2 changed files with 5 additions and 2 deletions

View File

@ -15,11 +15,12 @@
#define LLVM_MC_MCTARGETOPTIONSCOMMANDFLAGS_H
#include "llvm/ADT/Optional.h"
#include "llvm/MC/MCTargetOptions.h"
#include "llvm/Support/CommandLine.h"
#include <string>
namespace llvm {
class MCTargetOptions;
namespace mc {
bool getRelaxAll();

View File

@ -13,6 +13,8 @@
//===----------------------------------------------------------------------===//
#include "llvm/MC/MCTargetOptionsCommandFlags.h"
#include "llvm/MC/MCTargetOptions.h"
#include "llvm/Support/CommandLine.h"
using namespace llvm;