Fix Krazy warnings about includes/header guards in Cpp-Editor.

Change-Id: I00a68d7f2b509e3934c3248765a78e9b47749127
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Friedemann Kleint
2013-03-12 12:06:41 +01:00
parent 781099468e
commit cb08f959b9
18 changed files with 40 additions and 39 deletions

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef FINDDERIVEDCLASSES_H
#define FINDDERIVEDCLASSES_H
#ifndef TYPEHIERARCHYBUILDER_H
#define TYPEHIERARCHYBUILDER_H
#include "CppDocument.h"
#include "ModelManagerInterface.h"
@@ -78,4 +78,4 @@ private:
} // CPlusPlus
#endif // FINDDERIVEDCLASSES_H
#endif // TYPEHIERARCHYBUILDER_H

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef CPLUSPLUS_CHECKSYMBOLS_H
#define CPLUSPLUS_CHECKSYMBOLS_H
#ifndef CPLUSPLUSCHECKSYMBOLS_H
#define CPLUSPLUSCHECKSYMBOLS_H
#include "cpptools_global.h"
@@ -182,4 +182,4 @@ private:
} // namespace CPlusPlus
#endif // CPLUSPLUS_CHECKSYMBOLS_H
#endif // CPLUSPLUSCHECKSYMBOLS_H

View File

@@ -31,7 +31,6 @@
#include "cppcodestylepreferencesfactory.h"
#include <cpptools/cppcodestylepreferences.h>
#include <cpptools/cppcodestylesettings.h>
#include <cpptools/cpptoolsconstants.h>
#include <cpptools/cpptoolssettings.h>

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#include "cppcodestylepreferences.h"
#include "cppcodestylesettingspage.h"
#include "cppcodestylepreferences.h"
#include "cpppointerdeclarationformatter.h"
#include "cppqtstyleindenter.h"
#include "cpptoolsconstants.h"

View File

@@ -27,10 +27,9 @@
**
****************************************************************************/
#include "cppmodelmanager.h"
#include "cppcompletionassist.h"
#include "cppdoxygen.h"
#include "cppmodelmanager.h"
#include "cppdoxygen.h"
#include "cpptoolsconstants.h"
#include <Control.h>

View File

@@ -27,6 +27,9 @@
**
****************************************************************************/
#ifndef CPPDOXYGEN_H
#define CPPDOXYGEN_H
#include "cpptools_global.h"
QT_FORWARD_DECLARE_CLASS(QChar)
@@ -260,3 +263,4 @@ CPPTOOLS_EXPORT const char *doxygenTagSpell(int index);
} // namespace ::CppTools
#endif // CPPDOXYGEN_H

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef CPPSETTINGSPAGE_H
#define CPPSETTINGSPAGE_H
#ifndef CPPFILESETTINGSPAGE_H
#define CPPFILESETTINGSPAGE_H
#include <coreplugin/dialogs/ioptionspage.h>
@@ -110,4 +110,4 @@ private:
} // namespace Internal
} // namespace CppTools
#endif // CPPSETTINGSPAGE_H
#endif // CPPFILESETTINGSPAGE_H

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#include "cppchecksymbols.h"
#include "cpphighlightingsupportinternal.h"
#include "cppchecksymbols.h"
#include <cplusplus/LookupContext.h>
#include <cplusplus/SimpleLexer.h>

View File

@@ -27,11 +27,8 @@
**
****************************************************************************/
#include <cplusplus/pp.h>
#include <cplusplus/Overview.h>
#include "builtinindexingsupport.h"
#include "cppmodelmanager.h"
#include "builtinindexingsupport.h"
#include "cppcompletionassist.h"
#include "cpphighlightingsupport.h"
#include "cpphighlightingsupportinternal.h"
@@ -41,6 +38,9 @@
#include "cpptoolseditorsupport.h"
#include "cppfindreferences.h"
#include <cplusplus/pp.h>
#include <cplusplus/Overview.h>
#include <functional>
#include <QtConcurrentRun>
#include <QFutureSynchronizer>

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef CPPPOINTERFORMATTER_H
#define CPPPOINTERFORMATTER_H
#ifndef CPPPOINTERDECLARATIONFORMATTER_H
#define CPPPOINTERDECLARATIONFORMATTER_H
#include "cpptools_global.h"
@@ -128,4 +128,4 @@ private:
} // namespace CppTools
#endif // CPPPOINTERFORMATTER_H
#endif // CPPPOINTERDECLARATIONFORMATTER_H

View File

@@ -27,9 +27,9 @@
**
****************************************************************************/
#include "cpptoolseditorsupport.h"
#include "cppcompletionsupport.h"
#include "cpphighlightingsupport.h"
#include "cpptoolseditorsupport.h"
#include "cppmodelmanager.h"
#include <coreplugin/idocument.h>

View File

@@ -34,7 +34,6 @@
#include "commentssettings.h"
#include "completionsettingspage.h"
#include <texteditor/texteditorsettings.h>
#include <texteditor/texteditorsettings.h>
#include <texteditor/tabsettings.h>
#include <texteditor/codestylepool.h>

View File

@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef DOXYGEGENERATOR_H
#define DOXYGEGENERATOR_H
#ifndef DOXYGENGENERATOR_H
#define DOXYGENGENERATOR_H
#include "cpptools_global.h"
@@ -99,4 +99,4 @@ private:
} // CppTools
#endif // DOXYGEGENERATOR_H
#endif // DOXYGENGENERATOR_H

View File

@@ -27,9 +27,9 @@
**
****************************************************************************/
#include "insertionpointlocator.h"
#include "cpptoolsreuse.h"
#include "cpprefactoringchanges.h"
#include "insertionpointlocator.h"
#include "symbolfinder.h"
#include <AST.h>