// Purpose: Interface headers <=> real headers coherence checker
// Author: Francesco Montorsi
// Created: 2008/03/17
-// RCS-ID: $Id$
// Copyright: (c) 2008 Francesco Montorsi
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
interfaces.GetCount());
if (!m_strToMatch.IsEmpty())
+ {
wxLogMessage("Processing only header files matching '%s' expression.", m_strToMatch);
+ }
for (unsigned int i=0; i<interfaces.GetCount(); i++)
{
(interfaces[i].GetAvailability() & m_gccInterface.GetInterfacePort()) == 0) {
if (g_verbose)
+ {
wxLogMessage("skipping class '%s' since it's not available for the %s port.",
interfaces[i].GetName(), m_gccInterface.GetInterfacePortName());
+ }
continue; // skip this method
}
(m.GetAvailability() & m_gccInterface.GetInterfacePort()) == 0) {
if (g_verbose)
+ {
wxLogMessage("skipping method '%s' since it's not available for the %s port.",
m.GetAsString(), m_gccInterface.GetInterfacePortName());
+ }
continue; // skip this method
}
// modify interface header
if (FixMethod(iface->GetHeader(), &m, &tmp))
+ {
wxLogMessage("Adjusted attributes of '%s' method", m.GetAsString());
+ }
proceed = false;
break;
// TODO: decide which of these overloads is the most "similar" to m
// and eventually modify it
if (m_modify)
+ {
wxLogWarning("\tmanual fix is required");
+ }
}
else
{
return false;
if (g_verbose)
+ {
wxLogMessage("\tthe final row offset for following methods is %d lines.", nOffset);
+ }
// update the other method's locations for those methods which belong to the modified header
// and are placed _below_ the modified method