summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCInstrAnalysis.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2017-02-11 00:27:28 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2017-02-11 00:27:28 +0000
commitd3a6c897ba992e572ebecd2bcfe66cd2b435246e (patch)
tree08de330c2ff38e80f8642cab20d7eaed63e025e8 /llvm/lib/MC/MCInstrAnalysis.cpp
parenta2eb926e8aef74770a236c09573324917686fe8c (diff)
downloadbcm5719-llvm-d3a6c897ba992e572ebecd2bcfe66cd2b435246e.tar.gz
bcm5719-llvm-d3a6c897ba992e572ebecd2bcfe66cd2b435246e.zip
[MC] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 294813
Diffstat (limited to 'llvm/lib/MC/MCInstrAnalysis.cpp')
-rw-r--r--llvm/lib/MC/MCInstrAnalysis.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCInstrAnalysis.cpp b/llvm/lib/MC/MCInstrAnalysis.cpp
index 2d8336d77ac..566944c5354 100644
--- a/llvm/lib/MC/MCInstrAnalysis.cpp
+++ b/llvm/lib/MC/MCInstrAnalysis.cpp
@@ -1,4 +1,4 @@
-//===-- MCInstrAnalysis.cpp - InstrDesc target hooks ------------*- C++ -*-===//
+//===- MCInstrAnalysis.cpp - InstrDesc target hooks -----------------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -7,7 +7,12 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrAnalysis.h"
+#include "llvm/MC/MCInstrDesc.h"
+#include "llvm/MC/MCInstrInfo.h"
+#include <cstdint>
+
using namespace llvm;
bool MCInstrAnalysis::evaluateBranch(const MCInst &Inst, uint64_t Addr,
OpenPOWER on IntegriCloud