GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/incomplete_id.cpp Lines: 1 25 4.0 %
Date: 2021-05-22 Branches: 2 20 10.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Andrew Reynolds, Tim King, Aina Niemetz
4
 *
5
 * This file is part of the cvc5 project.
6
 *
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.
11
 * ****************************************************************************
12
 *
13
 * Implementation of incompleteness enumeration.
14
 */
15
16
#include "theory/incomplete_id.h"
17
18
#include <iostream>
19
20
namespace cvc5 {
21
namespace theory {
22
23
const char* toString(IncompleteId i)
24
{
25
  switch (i)
26
  {
27
    case IncompleteId::ARITH_NL_DISABLED: return "ARITH_NL_DISABLED";
28
    case IncompleteId::ARITH_NL: return "ARITH_NL";
29
    case IncompleteId::QUANTIFIERS: return "QUANTIFIERS";
30
    case IncompleteId::QUANTIFIERS_SYGUS_NO_VERIFY:
31
      return "QUANTIFIERS_SYGUS_NO_VERIFY";
32
    case IncompleteId::QUANTIFIERS_CEGQI: return "QUANTIFIERS_CEGQI";
33
    case IncompleteId::QUANTIFIERS_FMF: return "QUANTIFIERS_FMF";
34
    case IncompleteId::QUANTIFIERS_RECORDED_INST:
35
      return "QUANTIFIERS_RECORDED_INST";
36
    case IncompleteId::SEP: return "SEP";
37
    case IncompleteId::SETS_RELS_CARD: return "SETS_RELS_CARD";
38
    case IncompleteId::STRINGS_LOOP_SKIP: return "STRINGS_LOOP_SKIP";
39
    case IncompleteId::STRINGS_REGEXP_NO_SIMPLIFY:
40
      return "STRINGS_REGEXP_NO_SIMPLIFY";
41
    case IncompleteId::UF_HO_EXT_DISABLED: return "UF_HO_EXT_DISABLED";
42
    case IncompleteId::UF_CARD_DISABLED: return "UF_CARD_DISABLED";
43
    case IncompleteId::UF_CARD_MODE: return "UF_CARD_MODE";
44
    case IncompleteId::UNKNOWN: return "UNKNOWN";
45
    default: return "?IncompleteId?";
46
  }
47
}
48
49
std::ostream& operator<<(std::ostream& out, IncompleteId i)
50
{
51
  out << toString(i);
52
  return out;
53
}
54
55
}  // namespace theory
56
28194
}  // namespace cvc5