Skip to content

Commit 00c26e8

Browse files
committed
Drop unused CaptureInfo::otherOnly() method
1 parent 599e806 commit 00c26e8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

llvm/include/llvm/Support/ModRef.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,6 @@ class CaptureInfo {
337337
/// Create CaptureInfo that may capture all components of the pointer.
338338
static CaptureInfo all() { return CaptureInfo(CaptureComponents::All); }
339339

340-
/// Create CaptureInfo that may only capture through means other than the
341-
/// return value.
342-
static CaptureInfo
343-
otherOnly(CaptureComponents OtherComponents = CaptureComponents::All) {
344-
return CaptureInfo(OtherComponents, CaptureComponents::None);
345-
}
346-
347340
/// Create CaptureInfo that may only capture via the return value.
348341
static CaptureInfo
349342
retOnly(CaptureComponents RetComponents = CaptureComponents::All) {

0 commit comments

Comments
 (0)