GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/incomplete_id.cpp Lines: 1 27 3.7 %
Date: 2021-08-01 Branches: 2 21 9.5 %

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::QUANTIFIERS_MAX_INST_ROUNDS:
37
      return "QUANTIFIERS_MAX_INST_ROUNDS";
38
    case IncompleteId::SEP: return "SEP";
39
    case IncompleteId::SETS_RELS_CARD: return "SETS_RELS_CARD";
40
    case IncompleteId::STRINGS_LOOP_SKIP: return "STRINGS_LOOP_SKIP";
41
    case IncompleteId::STRINGS_REGEXP_NO_SIMPLIFY:
42
      return "STRINGS_REGEXP_NO_SIMPLIFY";
43
    case IncompleteId::UF_HO_EXT_DISABLED: return "UF_HO_EXT_DISABLED";
44
    case IncompleteId::UF_CARD_DISABLED: return "UF_CARD_DISABLED";
45
    case IncompleteId::UF_CARD_MODE: return "UF_CARD_MODE";
46
    case IncompleteId::UNKNOWN: return "UNKNOWN";
47
    default: return "?IncompleteId?";
48
  }
49
}
50
51
std::ostream& operator<<(std::ostream& out, IncompleteId i)
52
{
53
  out << toString(i);
54
  return out;
55
}
56
57
}  // namespace theory
58
29280
}  // namespace cvc5