aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/CaptureTracking.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-10-08 22:12:48 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-10-08 22:12:48 +0000
commitc92b8aa79f4a2cd16f7b674189e425c2c367e886 (patch)
treeaaa2cbd2342ad1e9f67b04a26d5d1122f12a36d4 /include/llvm/Analysis/CaptureTracking.h
parent6be75ae196e0138048f685d4df7128d24245be5e (diff)
Give CaptureTracker::shouldExplore a base implementation. Most users want to do
the same thing. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/CaptureTracking.h')
-rw-r--r--include/llvm/Analysis/CaptureTracking.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/CaptureTracking.h b/include/llvm/Analysis/CaptureTracking.h
index 9b5e8425ad..2889269b95 100644
--- a/include/llvm/Analysis/CaptureTracking.h
+++ b/include/llvm/Analysis/CaptureTracking.h
@@ -46,7 +46,7 @@ namespace llvm {
/// capture) return false. To search it, return true.
///
/// U->getUser() is always an Instruction.
- virtual bool shouldExplore(Use *U) = 0;
+ virtual bool shouldExplore(Use *U);
/// captured - Information about the pointer was captured by the user of
/// use U. Return true to stop the traversal or false to continue looking