MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / mkVar

Method mkVar

smt/expr.cpp:306–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306expr expr::mkVar(const char *name, const expr &type) {
307 C2(type);
308 return ::mkVar(name, type.sort());
309}
310
311expr expr::mkVar(const char *name, unsigned bits, bool fresh) {
312 auto sort = mkBVSort(bits);

Callers

nothing calls this directly

Calls 3

mkVarFunction · 0.85
mkBVSortFunction · 0.85
sortMethod · 0.80

Tested by

no test coverage detected