Replace with MCTargetOptions forward declaration and move includes down to MCTargetOptionsCommandFlags.cpp
#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();
//===----------------------------------------------------------------------===//
#include "llvm/MC/MCTargetOptionsCommandFlags.h"
+#include "llvm/MC/MCTargetOptions.h"
+#include "llvm/Support/CommandLine.h"
using namespace llvm;