GCC Code Coverage Report
Directory: . Exec Total Coverage
File: build-coverage/src/options/sep_options.cpp Lines: 11 25 44.0 %
Date: 2021-03-23 Branches: 2 4 50.0 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file module_template.cpp
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Mathias Preiner
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 Option template for option modules.
13
 **
14
 ** For each <module>_options.toml configuration file, mkoptions.py
15
 ** expands this template and generates a <module>_options.cpp file.
16
 **/
17
18
#include "options/options_holder.h"
19
#include "base/check.h"
20
21
namespace CVC4 {
22
23
98
template <> const options::sepCheckNeg__option_t::type& Options::operator[](
24
    options::sepCheckNeg__option_t) const
25
{
26
98
  return d_holder->sepCheckNeg;
27
}
28
template <> bool Options::wasSetByUser(options::sepCheckNeg__option_t) const
29
{
30
  return d_holder->sepCheckNeg__setByUser__;
31
}
32
54
template <> const options::sepChildRefine__option_t::type& Options::operator[](
33
    options::sepChildRefine__option_t) const
34
{
35
54
  return d_holder->sepChildRefine;
36
}
37
template <> bool Options::wasSetByUser(options::sepChildRefine__option_t) const
38
{
39
  return d_holder->sepChildRefine__setByUser__;
40
}
41
115
template <> const options::sepDisequalC__option_t::type& Options::operator[](
42
    options::sepDisequalC__option_t) const
43
{
44
115
  return d_holder->sepDisequalC;
45
}
46
template <> bool Options::wasSetByUser(options::sepDisequalC__option_t) const
47
{
48
  return d_holder->sepDisequalC__setByUser__;
49
}
50
template <> const options::sepExp__option_t::type& Options::operator[](
51
    options::sepExp__option_t) const
52
{
53
  return d_holder->sepExp;
54
}
55
template <> bool Options::wasSetByUser(options::sepExp__option_t) const
56
{
57
  return d_holder->sepExp__setByUser__;
58
}
59
388
template <> const options::sepMinimalRefine__option_t::type& Options::operator[](
60
    options::sepMinimalRefine__option_t) const
61
{
62
388
  return d_holder->sepMinimalRefine;
63
}
64
template <> bool Options::wasSetByUser(options::sepMinimalRefine__option_t) const
65
{
66
  return d_holder->sepMinimalRefine__setByUser__;
67
}
68
11323
template <> const options::sepPreSkolemEmp__option_t::type& Options::operator[](
69
    options::sepPreSkolemEmp__option_t) const
70
{
71
11323
  return d_holder->sepPreSkolemEmp;
72
}
73
template <> bool Options::wasSetByUser(options::sepPreSkolemEmp__option_t) const
74
{
75
  return d_holder->sepPreSkolemEmp__setByUser__;
76
}
77
78
79
namespace options {
80
81
thread_local struct sepCheckNeg__option_t sepCheckNeg;
82
thread_local struct sepChildRefine__option_t sepChildRefine;
83
thread_local struct sepDisequalC__option_t sepDisequalC;
84
thread_local struct sepExp__option_t sepExp;
85
thread_local struct sepMinimalRefine__option_t sepMinimalRefine;
86
thread_local struct sepPreSkolemEmp__option_t sepPreSkolemEmp;
87
88
89
90
}  // namespace options
91
26685
}  // namespace CVC4