GCC Code Coverage Report
Directory: . Exec Total Coverage
File: build-coverage/src/options/sets_options.cpp Lines: 7 13 53.8 %
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
17231
template <> const options::setsExt__option_t::type& Options::operator[](
24
    options::setsExt__option_t) const
25
{
26
17231
  return d_holder->setsExt;
27
}
28
template <> bool Options::wasSetByUser(options::setsExt__option_t) const
29
{
30
  return d_holder->setsExt__setByUser__;
31
}
32
106153
template <> const options::setsInferAsLemmas__option_t::type& Options::operator[](
33
    options::setsInferAsLemmas__option_t) const
34
{
35
106153
  return d_holder->setsInferAsLemmas;
36
}
37
template <> bool Options::wasSetByUser(options::setsInferAsLemmas__option_t) const
38
{
39
  return d_holder->setsInferAsLemmas__setByUser__;
40
}
41
51064
template <> const options::setsProxyLemmas__option_t::type& Options::operator[](
42
    options::setsProxyLemmas__option_t) const
43
{
44
51064
  return d_holder->setsProxyLemmas;
45
}
46
template <> bool Options::wasSetByUser(options::setsProxyLemmas__option_t) const
47
{
48
  return d_holder->setsProxyLemmas__setByUser__;
49
}
50
51
52
namespace options {
53
54
thread_local struct setsExt__option_t setsExt;
55
thread_local struct setsInferAsLemmas__option_t setsInferAsLemmas;
56
thread_local struct setsProxyLemmas__option_t setsProxyLemmas;
57
58
59
60
}  // namespace options
61
26688
}  // namespace CVC4