blob: 06a423438918dd7788b09ffe9f21e255d1b73b59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/******************************************************************************
* Top contributors (to current version):
* Morgan Deters, Tim King, Andrew Reynolds
*
* This file is part of the cvc5 project.
*
* Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
* ****************************************************************************
*
* Contains code for handling command-line options.
*/
#include "options/options.h"
#include "base/check.h"
#include "base/exception.h"
#include "base/output.h"
#include "options/language.h"
#include "options/options_handler.h"
#include "options/options_listener.h"
// clang-format off
${headers_module}$
#include "base/cvc5config.h"
${headers_handler}$
using namespace cvc5;
using namespace cvc5::options;
// clang-format on
namespace cvc5
{
thread_local Options* Options::s_current = nullptr;
Options::Options()
:
// clang-format off
${holder_mem_inits}$
${holder_ref_inits}$
// clang-format on
d_handler(std::make_unique<options::OptionsHandler>(this))
{
}
Options::~Options() {}
void Options::copyValues(const Options& options){
if(this != &options) {
// clang-format off
${holder_mem_copy}$
// clang-format on
}
}
} // namespace cvc5
|