Skip to content

Commit

Permalink
[NFC] remove unused llvm::deleter
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuanfang Chen committed Jul 20, 2020
1 parent ca1e69a commit 877b259
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions llvm/include/llvm/ADT/STLExtras.h
Expand Up @@ -206,15 +206,6 @@ class function_ref<Ret(Params...)> {
explicit operator bool() const { return callback; }
};

// deleter - Very very very simple method that is used to invoke operator
// delete on something. It is used like this:
//
// for_each(V.begin(), B.end(), deleter<Interval>);
template <class T>
inline void deleter(T *Ptr) {
delete Ptr;
}

//===----------------------------------------------------------------------===//
// Extra additions to <iterator>
//===----------------------------------------------------------------------===//
Expand Down

0 comments on commit 877b259

Please sign in to comment.