LCOV - code coverage report
Current view: top level - /usr/lib/llvm-19/include/llvm/Support - ReverseIteration.h (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 100.0 % 2 2
Test Date: 2026-02-27 04:14:43 Functions: 100.0 % 2 2
Legend: Lines:     hit not hit

            Line data    Source code
       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      1705343 : bool shouldReverseIterate() {
      11              : #if LLVM_ENABLE_REVERSE_ITERATION
      12              :   return detail::IsPointerLike<T>::value;
      13              : #else
      14      1705343 :   return false;
      15              : #endif
      16              : }
      17              : 
      18              : } // namespace llvm
      19              : #endif
        

Generated by: LCOV version 2.0-1