summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/ConstantFold.h
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-04-18 09:17:29 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-04-18 09:17:29 +0000
commitb550cb1750174d9c0dc002913f10f6de01566b5a (patch)
tree89305ce645a17d5ada15bacf0e77fd83e917ec0b /llvm/lib/IR/ConstantFold.h
parent7322b8bcc0509fa946b07c502b23f1134d4648a7 (diff)
downloadbcm5719-llvm-b550cb1750174d9c0dc002913f10f6de01566b5a.tar.gz
bcm5719-llvm-b550cb1750174d9c0dc002913f10f6de01566b5a.zip
[NFC] Header cleanup
Removed some unused headers, replaced some headers with forward class declarations. Found using simple scripts like this one: clear && ack --cpp -l '#include "llvm/ADT/IndexedMap.h"' | xargs grep -L 'IndexedMap[<]' | xargs grep -n --color=auto 'IndexedMap' Patch by Eugene Kosov <claprix@yandex.ru> Differential Revision: http://reviews.llvm.org/D19219 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266595
Diffstat (limited to 'llvm/lib/IR/ConstantFold.h')
-rw-r--r--llvm/lib/IR/ConstantFold.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/IR/ConstantFold.h b/llvm/lib/IR/ConstantFold.h
index 2a272da4337..9b0a937c84d 100644
--- a/llvm/lib/IR/ConstantFold.h
+++ b/llvm/lib/IR/ConstantFold.h
@@ -19,9 +19,8 @@
#ifndef LLVM_LIB_IR_CONSTANTFOLD_H
#define LLVM_LIB_IR_CONSTANTFOLD_H
-#include "llvm/ADT/ArrayRef.h"
-
namespace llvm {
+template <typename T> class ArrayRef;
class Value;
class Constant;
class Type;
OpenPOWER on IntegriCloud