Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:33

0001 #ifndef LLVM_SUPPORT_REVERSEITERATION_H
0002 #define LLVM_SUPPORT_REVERSEITERATION_H
0003 
0004 #include "llvm/Config/abi-breaking.h"
0005 #include "llvm/Support/PointerLikeTypeTraits.h"
0006 
0007 namespace llvm {
0008 
0009 template<class T = void *>
0010 bool shouldReverseIterate() {
0011 #if LLVM_ENABLE_REVERSE_ITERATION
0012   return detail::IsPointerLike<T>::value;
0013 #else
0014   return false;
0015 #endif
0016 }
0017 
0018 } // namespace llvm
0019 #endif