LLVM  5.0.0
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 
6 namespace llvm {
7 #if LLVM_ENABLE_ABI_BREAKING_CHECKS
8 template <class T = void> struct ReverseIterate { static bool value; };
9 #if LLVM_ENABLE_REVERSE_ITERATION
10 template <class T> bool ReverseIterate<T>::value = true;
11 #else
12 template <class T> bool ReverseIterate<T>::value = false;
13 #endif
14 #endif
15 }
16 
17 #endif