debugger: code cosmetics

This commit is contained in:
hjk
2009-05-07 10:04:42 +02:00
parent cb33a4405a
commit fae36d9ffd

View File

@@ -97,7 +97,7 @@ static inline QString getSymbolString(IDebugSymbolGroup2 *sg,
} }
namespace Debugger { namespace Debugger {
namespace Internal { namespace Internal {
static inline CdbSymbolGroupContext::SymbolState getSymbolState(const DEBUG_SYMBOL_PARAMETERS &p) static inline CdbSymbolGroupContext::SymbolState getSymbolState(const DEBUG_SYMBOL_PARAMETERS &p)
{ {
@@ -125,7 +125,7 @@ CdbSymbolGroupContext *CdbSymbolGroupContext::create(const QString &prefix,
CIDebugSymbolGroup *symbolGroup, CIDebugSymbolGroup *symbolGroup,
QString *errorMessage) QString *errorMessage)
{ {
CdbSymbolGroupContext *rc= new CdbSymbolGroupContext(prefix, symbolGroup); CdbSymbolGroupContext *rc = new CdbSymbolGroupContext(prefix, symbolGroup);
if (!rc->init(errorMessage)) { if (!rc->init(errorMessage)) {
delete rc; delete rc;
return 0; return 0;
@@ -401,7 +401,7 @@ static QString formatArrayHelper(const Integer *array, int size, int base = 10)
{ {
QString rc; QString rc;
const QString hexPrefix = QLatin1String("0x"); const QString hexPrefix = QLatin1String("0x");
const QString separator= QLatin1String(", "); const QString separator = QLatin1String(", ");
const bool hex = base == 16; const bool hex = base == 16;
for (int i = 0; i < size; i++) { for (int i = 0; i < size; i++) {
if (i) if (i)