Fix Krazy warnings about includes/header guards in Debugger.

Change-Id: If547a0002d37710fac58c1a13bacc48cf531bed7
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Friedemann Kleint
2013-03-12 11:48:25 +01:00
committed by hjk
parent 8f1752fbb8
commit 68cd15382d
18 changed files with 45 additions and 48 deletions

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef CDBSETTINGS_H #ifndef CDBOPTIONS_H
#define CDBSETTINGS_H #define CDBOPTIONS_H
#include <QStringList> #include <QStringList>
@@ -80,4 +80,4 @@ inline bool operator!=(const CdbOptions &s1, const CdbOptions &s2)
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // CDBSETTINGS_H #endif // CDBOPTIONS_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef CDBSETTINGSPAGE_H #ifndef CDBOPTIONSSPAGE_H
#define CDBSETTINGSPAGE_H #define CDBOPTIONSSPAGE_H
#include "cdboptions.h" #include "cdboptions.h"
@@ -147,4 +147,4 @@ private:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // CDBSETTINGSPAGE_H #endif // CDBOPTIONSSPAGE_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef DEBUGGERUISWITCHER_H #ifndef DEBUGGERMAINWINDOW_H
#define DEBUGGERUISWITCHER_H #define DEBUGGERMAINWINDOW_H
#include "debugger_global.h" #include "debugger_global.h"
#include "debuggerconstants.h" #include "debuggerconstants.h"
@@ -92,4 +92,4 @@ private:
} // namespace Debugger } // namespace Debugger
#endif // DEBUGGERUISWITCHER_H #endif // DEBUGGERMAINWINDOW_H

View File

@@ -80,7 +80,6 @@
#include <coreplugin/findplaceholder.h> #include <coreplugin/findplaceholder.h>
#include <coreplugin/icontext.h> #include <coreplugin/icontext.h>
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
#include <coreplugin/imode.h>
#include <coreplugin/icorelistener.h> #include <coreplugin/icorelistener.h>
#include <coreplugin/messagemanager.h> #include <coreplugin/messagemanager.h>
#include <coreplugin/minisplitter.h> #include <coreplugin/minisplitter.h>

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef DEBUGGERPLUGIN_STREAMOPS_H #ifndef DEBUGGERSTREAMOPS_H
#define DEBUGGERPLUGIN_STREAMOPS_H #define DEBUGGERSTREAMOPS_H
#include "threaddata.h" #include "threaddata.h"
#include "stackframe.h" #include "stackframe.h"
@@ -66,4 +66,4 @@ QDataStream &operator>>(QDataStream& stream, DisassemblerLines &o);
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif #endif // DEBUGGERSTREAMOPS_H

View File

@@ -33,7 +33,6 @@
#include "debuggerengine.h" #include "debuggerengine.h"
#include "debuggeractions.h" #include "debuggeractions.h"
#include "watchhandler.h" #include "watchhandler.h"
#include "watchutils.h"
#include "stackhandler.h" #include "stackhandler.h"
#include "debuggercore.h" #include "debuggercore.h"

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef GDBPROCESSWRAPPER_H #ifndef ABSTRACTGDBPROCESS_H
#define GDBPROCESSWRAPPER_H #define ABSTRACTGDBPROCESS_H
#include <QObject> #include <QObject>
#include <QProcess> #include <QProcess>
@@ -71,4 +71,4 @@ signals:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // GDBPROCESSWRAPPER_H #endif // ABSTRACTGDBPROCESS_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef DEBUGGER_PLAINGDBADAPTER_H #ifndef LOCALPLAINGDBADAPTER_H
#define DEBUGGER_PLAINGDBADAPTER_H #define LOCALPLAINGDBADAPTER_H
#include "abstractplaingdbadapter.h" #include "abstractplaingdbadapter.h"
#include "localgdbprocess.h" #include "localgdbprocess.h"
@@ -70,4 +70,4 @@ private:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // DEBUGGER_PLAINGDBADAPTER_H #endif // LOCALPLAINGDBADAPTER_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef DEBUGGER_REMOTEGDBADAPTER_H #ifndef REMOTEGDBSERVERADAPTER_H
#define DEBUGGER_REMOTEGDBADAPTER_H #define REMOTEGDBSERVERADAPTER_H
#include "gdbengine.h" #include "gdbengine.h"
#include "localgdbprocess.h" #include "localgdbprocess.h"
@@ -96,4 +96,4 @@ private:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // DEBUGGER_PLAINGDBADAPTER_H #endif // REMOTEGDBSERVERADAPTER_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef REMOTEGDBCLIENTADAPTER_H #ifndef REMOTEPLAINGDBADAPTER_H
#define REMOTEGDBCLIENTADAPTER_H #define REMOTEPLAINGDBADAPTER_H
#include "abstractplaingdbadapter.h" #include "abstractplaingdbadapter.h"
#include "remotegdbprocess.h" #include "remotegdbprocess.h"
@@ -69,4 +69,4 @@ private:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // REMOTEGDBCLIENTADAPTER_H #endif // REMOTEPLAINGDBADAPTER_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef DEBUGGER_IPCENGINE_H #ifndef IPCENGINEGUEST_H
#define DEBUGGER_IPCENGINE_H #define IPCENGINEGUEST_H
#include "breakhandler.h" #include "breakhandler.h"
#include "debuggerengine.h" #include "debuggerengine.h"
@@ -188,4 +188,4 @@ private:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // DEBUGGER_LLDBENGINE_H #endif // IPCENGINEGUEST_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef LLDBSETTINGSPAGE_H #ifndef LLDBOPTIONSPAGE_H
#define LLDBSETTINGSPAGE_H #define LLDBOPTIONSPAGE_H
#include <coreplugin/dialogs/ioptionspage.h> #include <coreplugin/dialogs/ioptionspage.h>
#include "ui_lldboptionspagewidget.h" #include "ui_lldboptionspagewidget.h"
@@ -77,4 +77,4 @@ private:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // LLDBSETTINGSPAGE_H #endif // LLDBOPTIONSPAGE_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef DEBUGGER_ATTACHCOREDIALOG_H #ifndef LOADCOREDIALOG_H
#define DEBUGGER_ATTACHCOREDIALOG_H #define LOADCOREDIALOG_H
#include <QDialog> #include <QDialog>
@@ -79,4 +79,4 @@ private:
} // namespace Debugger } // namespace Debugger
} // namespace Internal } // namespace Internal
#endif // DEBUGGER_ATTACHCOREDIALOG_H #endif // LOADCOREDIALOG_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef QMLGDBENGINE_H #ifndef QMLCPPENGINE_H
#define QMLGDBENGINE_H #define QMLCPPENGINE_H
#include "debuggerengine.h" #include "debuggerengine.h"
@@ -140,4 +140,4 @@ private:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // QMLGDBENGINE_H #endif // QMLCPPENGINE_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef DEBUGGER_SOURCEFILEWINDOW_H #ifndef SOURCEFILESWINDOW_H
#define DEBUGGER_SOURCEFILEWINDOW_H #define SOURCEFILESWINDOW_H
#include "basewindow.h" #include "basewindow.h"
@@ -58,5 +58,5 @@ public:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // DEBUGGER_SOURCEFILEWINDOW_H #endif // SOURCEFILESWINDOW_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef DEBUGGER_THREADWINDOW_H #ifndef THREADSWINDOW_H
#define DEBUGGER_THREADWINDOW_H #define THREADSWINDOW_H
#include "basewindow.h" #include "basewindow.h"
@@ -59,4 +59,4 @@ public:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // DEBUGGER_THREADWINDOW_H #endif // THREADSWINDOW_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef WATCHDELEGATEEDITS_H #ifndef WATCHDELEGATEWIDGETS_H
#define WATCHDELEGATEEDITS_H #define WATCHDELEGATEWIDGETS_H
#include <QLineEdit> #include <QLineEdit>
#include <QComboBox> #include <QComboBox>
@@ -115,4 +115,4 @@ public:
} // namespace Internal } // namespace Internal
} // namespace Debugger } // namespace Debugger
#endif // WATCHDELEGATEEDITS_H #endif // WATCHDELEGATEWIDGETS_H

View File

@@ -57,7 +57,6 @@
#include <QTabWidget> #include <QTabWidget>
#include <ctype.h> #include <ctype.h>
#include <utils/qtcassert.h>
//#define USE_WATCH_MODEL_TEST 0 //#define USE_WATCH_MODEL_TEST 0
//#define USE_EXPENSIVE_CHECKS 0 //#define USE_EXPENSIVE_CHECKS 0