GCC Code Coverage Report
Directory: . Exec Total Coverage
File: build-coverage/src/options/sep_options.cpp Lines: 1 25 4.0 %
Date: 2021-08-17 Branches: 2 16 12.5 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Mathias Preiner, 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
 * Option template for option modules.
14
 *
15
 * For each <module>_options.toml configuration file, mkoptions.py
16
 * expands this template and generates a <module>_options.cpp file.
17
 */
18
#include "options/sep_options.h"
19
20
#include <iostream>
21
22
#include "base/check.h"
23
#include "options/option_exception.h"
24
25
// clang-format off
26
namespace cvc5::options {
27
28
29
30
namespace sep
31
{
32
// clang-format off
33
void setDefaultSepCheckNeg(Options& opts, bool value)
34
{
35
    if (!opts.sep.sepCheckNegWasSetByUser) {
36
        opts.sep.sepCheckNeg = value;
37
    }
38
}
39
void setDefaultSepChildRefine(Options& opts, bool value)
40
{
41
    if (!opts.sep.sepChildRefineWasSetByUser) {
42
        opts.sep.sepChildRefine = value;
43
    }
44
}
45
void setDefaultSepDisequalC(Options& opts, bool value)
46
{
47
    if (!opts.sep.sepDisequalCWasSetByUser) {
48
        opts.sep.sepDisequalC = value;
49
    }
50
}
51
void setDefaultSepExp(Options& opts, bool value)
52
{
53
    if (!opts.sep.sepExpWasSetByUser) {
54
        opts.sep.sepExp = value;
55
    }
56
}
57
void setDefaultSepMinimalRefine(Options& opts, bool value)
58
{
59
    if (!opts.sep.sepMinimalRefineWasSetByUser) {
60
        opts.sep.sepMinimalRefine = value;
61
    }
62
}
63
void setDefaultSepPreSkolemEmp(Options& opts, bool value)
64
{
65
    if (!opts.sep.sepPreSkolemEmpWasSetByUser) {
66
        opts.sep.sepPreSkolemEmp = value;
67
    }
68
}
69
// clang-format on
70
}
71
72
29337
}  // namespace cvc5::options
73
// clang-format on