@@ -55,7 +55,7 @@ ModelChecker::ModelChecker(
55
55
bool ModelChecker::isPragmaPresent (std::vector<std::shared_ptr<SourceUnit>> const & _sources)
56
56
{
57
57
return ranges::any_of (_sources, [](auto _source) {
58
- return _source && _source->annotation ().experimentalFeatures .count (ExperimentalFeature::SMTChecker );
58
+ return _source && _source->annotation ().experimentalFeatures .count (ExperimentalFeature::SolCMC );
59
59
});
60
60
}
61
61
@@ -94,14 +94,14 @@ void ModelChecker::checkRequestedSourcesAndContracts(std::vector<std::shared_ptr
94
94
void ModelChecker::analyze (SourceUnit const & _source)
95
95
{
96
96
// TODO This should be removed for 0.9.0.
97
- if (_source.annotation ().experimentalFeatures .count (ExperimentalFeature::SMTChecker ))
97
+ if (_source.annotation ().experimentalFeatures .count (ExperimentalFeature::SolCMC ))
98
98
{
99
99
PragmaDirective const * smtPragma = nullptr ;
100
100
for (auto node: _source.nodes ())
101
101
if (auto pragma = std::dynamic_pointer_cast<PragmaDirective>(node))
102
102
if (
103
103
pragma->literals ().size () >= 2 &&
104
- pragma->literals ().at (1 ) == " SMTChecker "
104
+ pragma->literals ().at (1 ) == " SolCMC "
105
105
)
106
106
{
107
107
smtPragma = pragma.get ();
@@ -111,8 +111,8 @@ void ModelChecker::analyze(SourceUnit const& _source)
111
111
m_uniqueErrorReporter.warning (
112
112
5523_error,
113
113
smtPragma->location (),
114
- " The SMTChecker pragma has been deprecated and will be removed in the future. "
115
- " Please use the \" model checker engine\" compiler setting to activate the SMTChecker instead. "
114
+ " The SolCMC pragma has been deprecated and will be removed in the future. "
115
+ " Please use the \" model checker engine\" compiler setting to activate the SolCMC instead. "
116
116
" If the pragma is enabled, all engines will be used."
117
117
);
118
118
}
@@ -144,7 +144,7 @@ void ModelChecker::analyze(SourceUnit const& _source)
144
144
m_errorReporter.warning (
145
145
5724_error,
146
146
{},
147
- " SMTChecker : " +
147
+ " SolCMC : " +
148
148
std::to_string (m_unsupportedErrorReporter.errors ().size ()) +
149
149
" unsupported language feature(s)."
150
150
" Enable the model checker option \" show unsupported\" to see all of them."
@@ -188,7 +188,7 @@ SMTSolverChoice ModelChecker::checkRequestedSolvers(SMTSolverChoice _enabled, Er
188
188
_errorReporter.warning (
189
189
4902_error,
190
190
SourceLocation (),
191
- " Solver cvc5 was selected for SMTChecker but it is not available."
191
+ " Solver cvc5 was selected for SolCMC but it is not available."
192
192
);
193
193
}
194
194
@@ -199,9 +199,9 @@ SMTSolverChoice ModelChecker::checkRequestedSolvers(SMTSolverChoice _enabled, Er
199
199
4458_error,
200
200
SourceLocation (),
201
201
#if defined(__linux) || defined(__APPLE__)
202
- " Solver Eldarica was selected for SMTChecker but it was not found in the system."
202
+ " Solver Eldarica was selected for SolCMC but it was not found in the system."
203
203
#else
204
- " Solver Eldarica was selected for SMTChecker but it is only supported on Linux and MacOS."
204
+ " Solver Eldarica was selected for SolCMC but it is only supported on Linux and MacOS."
205
205
#endif
206
206
);
207
207
}
@@ -212,7 +212,7 @@ SMTSolverChoice ModelChecker::checkRequestedSolvers(SMTSolverChoice _enabled, Er
212
212
_errorReporter.warning (
213
213
8158_error,
214
214
SourceLocation (),
215
- " Solver z3 was selected for SMTChecker but it is not available."
215
+ " Solver z3 was selected for SolCMC but it is not available."
216
216
);
217
217
}
218
218
0 commit comments