LLVM
8.0.1
include
llvm
Support
ReverseIteration.h
Go to the documentation of this file.
1
#ifndef LLVM_SUPPORT_REVERSEITERATION_H
2
#define LLVM_SUPPORT_REVERSEITERATION_H
3
4
#include "llvm/Config/abi-breaking.h"
5
#include "
llvm/Support/PointerLikeTypeTraits.h
"
6
7
namespace
llvm
{
8
9
template
<
class
T =
void
*>
10
bool
shouldReverseIterate
() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
return
detail::IsPointerLike<T>::value
;
13
#else
14
return
false
;
15
#endif
16
}
17
18
}
19
#endif
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::detail::IsPointerLike
Definition:
PointerLikeTypeTraits.h:46
llvm::shouldReverseIterate
bool shouldReverseIterate()
Definition:
ReverseIteration.h:10
PointerLikeTypeTraits.h
Generated on Sun Dec 20 2020 13:53:36 for LLVM by
1.8.13