ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
type_handler.cpp File Reference
Include dependency graph for type_handler.cpp:

Functions

static void throw_if_unmodelled_builtin_result (const std::string &ast_type)
 ast_type may be a call-result tag the intrinsic map invents for a builtin rather than a name from the source (iter -> "iterator", map -> "map", filter -> "filter").

Function Documentation

◆ throw_if_unmodelled_builtin_result()

void throw_if_unmodelled_builtin_result ( const std::string & ast_type)
static

ast_type may be a call-result tag the intrinsic map invents for a builtin rather than a name from the source (iter -> "iterator", map -> "map", filter -> "filter").

No such type is modelled, so resolution lands here – but reporting a NameError blames a name the program never mentions. Name the builtin instead (esbmc/esbmc#7081). Returns if ast_type is not one.