MCPcopy Create free account
hub / github.com/boostorg/build / check_defined

Function check_defined

src/engine/class.cpp:27–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26
27static void check_defined( LIST * class_names )
28{
29 LISTITER iter = list_begin( class_names );
30 LISTITER const end = list_end( class_names );
31 for ( ; iter != end; iter = list_next( iter ) )
32 {
33 if ( !hash_find( classes, list_item( iter ) ) )
34 {
35 out_printf( "Class %s is not defined\n", object_str( list_item( iter ) )
36 );
37 abort();
38 }
39 }
40}
41
42
43static OBJECT * class_module_name( OBJECT * declared_name )

Callers 1

make_class_moduleFunction · 0.85

Calls 5

list_beginFunction · 0.85
list_endFunction · 0.85
hash_findFunction · 0.85
out_printfFunction · 0.85
object_strFunction · 0.85

Tested by

no test coverage detected