search for: itrend1

Displaying 1 result from an estimated 1 matches for "itrend1".

Did you mean: trend1
2006 Mar 19
1
[LLVMdev] Idioms for retrieving global symbols and inheritance
...oduce. Also, an attempt to access value_iterator->second->getName() produces junk names. value_iterator->second->hasName() causes segfaults. All this is compiled fine. Following is sample code and output. Code: ------------- for ( SymbolTable::type_iterator itr1 = symbTab.type_begin(), itrend1 = symbTab.type_end(); itr1 != itrend1; itr1++ ) { string typeName = itr1->first; if ( lldbprfx.compare( typeName.substr( 0, 5 ) ) != 0 ) { cerr << typeName << endl; for ( SymbolTable::value_const_iterator itr2 = symbTab.value_begin( itr1->second ), itrend2 = symbT...