Fix Krazy warnings about improper include guard in Debugger.

Change-Id: I0d539070676c8a94d097d744e9b066f86a664cf5
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Friedemann Kleint
2013-03-15 12:41:32 +01:00
parent 3ec9d6bb64
commit d535fddae3
7 changed files with 21 additions and 21 deletions

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef GDBMACROS_H #ifndef DUMPER_H
#define GDBMACROS_H #define DUMPER_H
#ifdef MACROSDEBUG #ifdef MACROSDEBUG
Q_DECL_EXPORT extern char xDumpInBuffer[]; Q_DECL_EXPORT extern char xDumpInBuffer[];
@@ -43,4 +43,4 @@ void *qDumpObjectData440(int protocolVersion, int token, const void *data,
int dumpChildren, int extraInt0, int extraInt1, int extraInt2, int extraInt3); int dumpChildren, int extraInt0, int extraInt1, int extraInt2, int extraInt3);
#endif // GDBMACROS_H #endif // DUMPER_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef GDBMACROS_P_H #ifndef DUMPER_P_H
#define GDBMACROS_P_H #define DUMPER_P_H
#include <QObject> #include <QObject>
#include <QPointer> #include <QPointer>
@@ -201,4 +201,4 @@ public:
QT_END_NAMESPACE QT_END_NAMESPACE
#endif #endif
#endif // GDBMACROS_P_H #endif // DUMPER_P_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef DEBUGEVENTHANDLER_H #ifndef EVENTCALLBACK_H
#define DEBUGEVENTHANDLER_H #define EVENTCALLBACK_H
#include "common.h" #include "common.h"
#include "extensioncontext.h" #include "extensioncontext.h"
@@ -152,4 +152,4 @@ public:
private: private:
IDebugEventCallbacks *m_wrapped; IDebugEventCallbacks *m_wrapped;
}; };
#endif // DEBUGEVENTHANDLER_H #endif // EVENTCALLBACK_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef THREADLIST_H #ifndef GDBMIHELPERS_H
#define THREADLIST_H #define GDBMIHELPERS_H
#include "common.h" #include "common.h"
#include <vector> #include <vector>
@@ -182,4 +182,4 @@ bool evaluateExpression(CIDebugControl *control, const std::string expression,
bool evaluateInt64Expression(CIDebugControl *control, const std::string expression, bool evaluateInt64Expression(CIDebugControl *control, const std::string expression,
LONG64 *, std::string *errorMessage); LONG64 *, std::string *errorMessage);
#endif // THREADLIST_H #endif // GDBMIHELPERS_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef DEBUGEVENTOUTPUT_H #ifndef OUTPUTCALLBACK_H
#define DEBUGEVENTOUTPUT_H #define OUTPUTCALLBACK_H
#include "common.h" #include "common.h"
@@ -68,4 +68,4 @@ private:
std::wstring m_recorded; std::wstring m_recorded;
}; };
#endif // DEBUGEVENTOUTPUT_H #endif // OUTPUTCALLBACK_H

View File

@@ -27,8 +27,8 @@
** **
****************************************************************************/ ****************************************************************************/
#ifndef SPLIT_H #ifndef STRINGUTILS_H
#define SPLIT_H #define STRINGUTILS_H
#include <string> #include <string>
#include <sstream> #include <sstream>
@@ -226,4 +226,4 @@ private:
// Format a map as a GDBMI hash {key="value",..} // Format a map as a GDBMI hash {key="value",..}
void formatGdbmiHash(std::ostream &os, const std::map<std::string, std::string> &, bool closeHash = true); void formatGdbmiHash(std::ostream &os, const std::map<std::string, std::string> &, bool closeHash = true);
#endif // SPLIT_H #endif // STRINGUTILS_H

View File

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