[Analysis] Ensure we include CommandLine.h if we declare any cl::opt flags. NFC.

This commit is contained in:
Simon Pilgrim 2020-06-23 12:19:09 +01:00
parent 4ffe2b24f5
commit cdceef4a4f
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Support/CommandLine.h"
using namespace llvm;

View File

@ -20,6 +20,7 @@
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/Instructions.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/raw_ostream.h"
#include <sstream>