GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/options/printer_modes.cpp Lines: 1 8 12.5 %
Date: 2021-03-23 Branches: 2 7 28.6 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file printer_modes.cpp
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Mathias Preiner, Andrew Reynolds
6
 ** This file is part of the CVC4 project.
7
 ** Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8
 ** in the top-level source directory and their institutional affiliations.
9
 ** All rights reserved.  See the file COPYING in the top-level source
10
 ** directory for licensing information.\endverbatim
11
 **
12
 ** \brief [[ Add one-line brief description here ]]
13
 **
14
 ** [[ Add lengthier description here ]]
15
 ** \todo document this file
16
 **/
17
18
#include "options/printer_modes.h"
19
20
namespace CVC4 {
21
22
std::ostream& operator<<(std::ostream& out, options::InstFormatMode mode)
23
{
24
  out << "InstFormatMode::";
25
  switch (mode)
26
  {
27
    case options::InstFormatMode::DEFAULT: out << "DEFAULT"; break;
28
    case options::InstFormatMode::SZS: out << "SZS"; break;
29
    default: out << "UNKNOWN![" << unsigned(mode) << "]";
30
  }
31
  return out;
32
}
33
34
26685
}  // namespace CVC4