LCOV - code coverage report
Current view: top level - buildbot/coverage/build/src/util - ostream_util.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 7 0.0 %
Date: 2026-05-13 10:48:54 Functions: 0 2 0.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /******************************************************************************
       2                 :            :  * This file is part of the cvc5 project.
       3                 :            :  *
       4                 :            :  * Copyright (c) 2009-2026 by the authors listed in the file AUTHORS
       5                 :            :  * in the top-level source directory and their institutional affiliations.
       6                 :            :  * All rights reserved.  See the file COPYING in the top-level source
       7                 :            :  * directory for licensing information.
       8                 :            :  * ****************************************************************************
       9                 :            :  *
      10                 :            :  * Utilities for using ostreams.
      11                 :            :  */
      12                 :            : #include "util/ostream_util.h"
      13                 :            : 
      14                 :            : #include <ostream>
      15                 :            : 
      16                 :            : namespace cvc5::internal {
      17                 :            : 
      18                 :          0 : StreamFormatScope::StreamFormatScope(std::ostream& out)
      19                 :          0 :     : d_out(out), d_format_flags(out.flags()), d_precision(out.precision())
      20                 :            : {
      21                 :          0 : }
      22                 :            : 
      23                 :          0 : StreamFormatScope::~StreamFormatScope()
      24                 :            : {
      25                 :          0 :   d_out.precision(d_precision);
      26                 :          0 :   d_out.flags(d_format_flags);
      27                 :          0 : }
      28                 :            : 
      29                 :            : }  // namespace cvc5::internal

Generated by: LCOV version 1.14