blob: a0719ea328e9140ad6d3f292d5912c8c6f278320 (
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
/******************************************************************************
* Top contributors (to current version):
* Mathias Preiner, Aina Niemetz
*
* 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.
*
* For each <module>_options.toml configuration file, mkoptions.py
* expands this template and generates a <module>_options.h file.
*/
${visibility_include}$
#ifndef CVC5__OPTIONS__${id_cap}$_H
#define CVC5__OPTIONS__${id_cap}$_H
#include "options/options.h"
// clang-format off
${includes}$
// clang-format on
namespace cvc5 {
namespace options {
// clang-format off
${modes_decl}$
// clang-format on
#if defined(CVC5_MUZZLED) || defined(CVC5_COMPETITION_MODE)
# define DO_SEMANTIC_CHECKS_BY_DEFAULT false
#else /* CVC5_MUZZLED || CVC5_COMPETITION_MODE */
# define DO_SEMANTIC_CHECKS_BY_DEFAULT true
#endif /* CVC5_MUZZLED || CVC5_COMPETITION_MODE */
struct Holder${id_cap}$
{
// clang-format off
${holder_spec}$
// clang-format on
};
#undef DO_SEMANTIC_CHECKS_BY_DEFAULT
// clang-format off
${decls}$
// clang-format on
namespace ${id}$
{
// clang-format off
${option_names}$
// clang-format on
}
} // namespace options
// clang-format off
${specs}$
// clang-format on
namespace options {
// clang-format off
${inls}$
// clang-format on
namespace ${id}$
{
// clang-format off
${defaults_decl}$
// clang-format on
}
} // namespace options
} // namespace cvc5
#endif /* CVC5__OPTIONS__${id_cap}$_H */
|