diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/ADT/ilist.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/ADT/ilist.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/ADT/ilist.h b/contrib/llvm-project/llvm/include/llvm/ADT/ilist.h index b3aa26f2454d..9913b7cccbdd 100644 --- a/contrib/llvm-project/llvm/include/llvm/ADT/ilist.h +++ b/contrib/llvm-project/llvm/include/llvm/ADT/ilist.h @@ -5,19 +5,20 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// -// This file defines classes to implement an intrusive doubly linked list class -// (i.e. each node of the list must contain a next and previous field for the -// list. -// -// The ilist class itself should be a plug in replacement for list. This list -// replacement does not provide a constant time size() method, so be careful to -// use empty() when you really want to know if it's empty. -// -// The ilist class is implemented as a circular list. The list itself contains -// a sentinel node, whose Next points at begin() and whose Prev points at -// rbegin(). The sentinel node itself serves as end() and rend(). -// +/// +/// \file +/// This file defines classes to implement an intrusive doubly linked list class +/// (i.e. each node of the list must contain a next and previous field for the +/// list. +/// +/// The ilist class itself should be a plug in replacement for list. This list +/// replacement does not provide a constant time size() method, so be careful to +/// use empty() when you really want to know if it's empty. +/// +/// The ilist class is implemented as a circular list. The list itself contains +/// a sentinel node, whose Next points at begin() and whose Prev points at +/// rbegin(). The sentinel node itself serves as end() and rend(). +/// //===----------------------------------------------------------------------===// #ifndef LLVM_ADT_ILIST_H |