summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakub Staszak <kubastaszak@gmail.com>2013-03-10 00:34:01 +0000
committerJakub Staszak <kubastaszak@gmail.com>2013-03-10 00:34:01 +0000
commitec3bb4b660fc2f8353c510ebfc15277bcf28df8b (patch)
treed5e0e6bd5303338599c0ff5b7ccb692d3d071761 /include
parente939a066c85a21e86d32e0a57fd16f4188576633 (diff)
downloadllvm-ec3bb4b660fc2f8353c510ebfc15277bcf28df8b.tar.gz
llvm-ec3bb4b660fc2f8353c510ebfc15277bcf28df8b.tar.bz2
llvm-ec3bb4b660fc2f8353c510ebfc15277bcf28df8b.tar.xz
Remove unneeded #includes. Use forward declarations instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176783 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/CaptureTracking.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/llvm/Analysis/CaptureTracking.h b/include/llvm/Analysis/CaptureTracking.h
index 5e2a5ecd9f..8edabfe860 100644
--- a/include/llvm/Analysis/CaptureTracking.h
+++ b/include/llvm/Analysis/CaptureTracking.h
@@ -14,12 +14,11 @@
#ifndef LLVM_ANALYSIS_CAPTURETRACKING_H
#define LLVM_ANALYSIS_CAPTURETRACKING_H
-#include "llvm/Analysis/AliasAnalysis.h"
-#include "llvm/IR/Constants.h"
-#include "llvm/IR/Instructions.h"
-#include "llvm/Support/CallSite.h"
-
namespace llvm {
+
+ class Value;
+ class Use;
+
/// PointerMayBeCaptured - Return true if this pointer value may be captured
/// by the enclosing function (which is required to exist). This routine can
/// be expensive, so consider caching the results. The boolean ReturnCaptures