summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/PtrUseVisitor.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2017-08-18 23:51:26 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2017-08-18 23:51:26 +0000
commitbe709f2c19bc59df5dbbd877f782bf7cc47fc663 (patch)
tree2eb83e9edad89b79f3d6aa314380cbf985090d5b /llvm/lib/Analysis/PtrUseVisitor.cpp
parentdeb2a2adc87fa69da694d15fe1dfd45b99218529 (diff)
downloadbcm5719-llvm-be709f2c19bc59df5dbbd877f782bf7cc47fc663.tar.gz
bcm5719-llvm-be709f2c19bc59df5dbbd877f782bf7cc47fc663.zip
[Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 311212
Diffstat (limited to 'llvm/lib/Analysis/PtrUseVisitor.cpp')
-rw-r--r--llvm/lib/Analysis/PtrUseVisitor.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/PtrUseVisitor.cpp b/llvm/lib/Analysis/PtrUseVisitor.cpp
index 68c7535ea59..1fdaf4d55b5 100644
--- a/llvm/lib/Analysis/PtrUseVisitor.cpp
+++ b/llvm/lib/Analysis/PtrUseVisitor.cpp
@@ -6,12 +6,16 @@
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
+//
/// \file
/// Implementation of the pointer use visitors.
-///
+//
//===----------------------------------------------------------------------===//
#include "llvm/Analysis/PtrUseVisitor.h"
+#include "llvm/IR/Instruction.h"
+#include "llvm/IR/Instructions.h"
+#include <algorithm>
using namespace llvm;
OpenPOWER on IntegriCloud