LCOV - code coverage report
Current view: top level - /jenkins/workspace/boost-root/libs/capy/src/ex - frame_allocator.cpp (source / functions) Coverage Total Hit
Test: coverage_remapped.info Lines: 100.0 % 2 2
Test Date: 2026-10-17 15:55:14 Functions: 100.0 % 1 1

           TLA  Line data    Source code
       1                 : //
       2                 : // Copyright (c) 2026 Steve Gerbino
       3                 : //
       4                 : // Distributed under the Boost Software License, Version 1.0. (See accompanying
       5                 : // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       6                 : //
       7                 : // Official repository: https://github.com/cppalliance/capy
       8                 : //
       9                 : 
      10                 : #include <boost/capy/ex/frame_allocator.hpp>
      11                 : 
      12                 : #if (defined(BOOST_CAPY_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && \
      13                 :     !defined(BOOST_CAPY_STATIC_LINK)
      14                 : 
      15                 : namespace boost {
      16                 : namespace capy {
      17                 : namespace detail {
      18                 : 
      19                 : std::pmr::memory_resource*&
      20 HIT      852070 : current_frame_allocator_ref() noexcept
      21                 : {
      22                 :     static thread_local std::pmr::memory_resource* mr = nullptr;
      23          852070 :     return mr;
      24                 : }
      25                 : 
      26                 : } // namespace detail
      27                 : } // namespace capy
      28                 : } // namespace boost
      29                 : 
      30                 : #endif
        

Generated by: LCOV version 2.3