Commit 5b37de17 authored by ussrhero's avatar ussrhero

cleaned comments lines

parent 8946db2f
......@@ -749,9 +749,6 @@ bool DiaSymbol::isIndirectVirtualBaseClass()
bool DiaSymbol::isVirtualBaseClass()
{
//BOOL ret = FALSE;
//m_symbol->get_virtualBaseClass(&ret);
//return ret;
return !!callSymbol(get_virtualBaseClass);
}
......
......@@ -542,9 +542,6 @@ protected:
virtual void getVirtualDisplacement( const std::wstring& fieldName, MEMOFFSET_32 &virtualBasePtr, size_t &virtualDispIndex, size_t &virtualDispSize );
virtual void getVirtualDisplacement( size_t fieldIndex, MEMOFFSET_32 &virtualBasePtr, size_t &virtualDispIndex, size_t &virtualDispSize );
// void getVirtualFields();
};
///////////////////////////////////////////////////////////////////////////////
......
......@@ -203,23 +203,6 @@ public:
return TypeFieldPtr(p);
}
static TypeFieldPtr getVirtualField(
const SymbolPtr &sym,
const std::wstring& name,
MEMOFFSET_32 offset,
MEMOFFSET_32 virtualBasePtr,
size_t virtualDispIndex,
size_t virtualDispSize )
{
SymbolUdtField *p = new SymbolUdtField( sym, name );
p->m_offset = offset;
p->m_virtualBasePtr = virtualBasePtr;
p->m_virtualDispIndex = virtualDispIndex;
p->m_virtualDispSize = virtualDispSize;
p->m_virtualMember = true;
return TypeFieldPtr(p);
}
static TypeFieldPtr getVirtualMethodField(
const SymbolPtr& sym,
const std::wstring& name
......
......@@ -12,9 +12,7 @@ namespace kdlib {
const TypeFieldPtr& FieldCollection::lookup(const std::wstring &name) const
{
//FieldList::const_reverse_iterator it;
FieldList::const_iterator it;
// for ( it = m_fields.rbegin(); it != m_fields.rend(); ++it )
for (it = m_fields.begin(); it != m_fields.end(); ++it)
{
if ( (*it)->getName() == name )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment