forked from qt-creator/qt-creator
Wholesale conversion to #pragma once
Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef ABSTRACTEDITORSUPPORT_H
|
||||
#define ABSTRACTEDITORSUPPORT_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -57,5 +56,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // ABSTRACTEDITORSUPPORT_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef BASEEDITORDOCUMENTPARSER_H
|
||||
#define BASEEDITORDOCUMENTPARSER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cppworkingcopy.h"
|
||||
@@ -86,5 +85,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // BASEEDITORDOCUMENTPARSER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef BASEEDITORDOCUMENTPROCESSOR_H
|
||||
#define BASEEDITORDOCUMENTPROCESSOR_H
|
||||
#pragma once
|
||||
|
||||
#include "baseeditordocumentparser.h"
|
||||
#include "cppsemanticinfo.h"
|
||||
@@ -99,6 +98,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // BASEEDITORDOCUMENTPROCESSOR_H
|
||||
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef BUILTINEDITORDOCUMENTPARSER_H
|
||||
#define BUILTINEDITORDOCUMENTPARSER_H
|
||||
#pragma once
|
||||
|
||||
#include "baseeditordocumentparser.h"
|
||||
#include "cpptools_global.h"
|
||||
@@ -82,5 +81,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // BUILTINEDITORDOCUMENTPARSER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef BUILTINEDITORDOCUMENTPROCESSOR_H
|
||||
#define BUILTINEDITORDOCUMENTPROCESSOR_H
|
||||
#pragma once
|
||||
|
||||
#include "baseeditordocumentprocessor.h"
|
||||
#include "builtineditordocumentparser.h"
|
||||
@@ -73,5 +72,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // BUILTINEDITORDOCUMENTPROCESSOR_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef BUILTININDEXINGSUPPORT_H
|
||||
#define BUILTININDEXINGSUPPORT_H
|
||||
#pragma once
|
||||
|
||||
#include "cppindexingsupport.h"
|
||||
#include "cppmodelmanager.h"
|
||||
@@ -53,5 +52,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // BUILTININDEXINGSUPPORT_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef COMMENTSSETTINGS_H
|
||||
#define COMMENTSSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -56,5 +55,3 @@ inline bool operator!=(const CommentsSettings &a, const CommentsSettings &b)
|
||||
{ return !(a == b); }
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // COMMENTSSETTINGS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_COMPILEROPTIONSBUILDER_H
|
||||
#define CPPTOOLS_COMPILEROPTIONSBUILDER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -66,5 +65,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_COMPILEROPTIONSBUILDER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef COMPLETIONSETTINGSPAGE_H
|
||||
#define COMPLETIONSETTINGSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "commentssettings.h"
|
||||
|
||||
@@ -67,5 +66,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // COMPLETIONSETTINGSPAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPLUSPLUSCHECKSYMBOLS_H
|
||||
#define CPLUSPLUSCHECKSYMBOLS_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cppsemanticinfo.h"
|
||||
@@ -193,5 +192,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPLUSPLUSCHECKSYMBOLS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPCLASSESFILTER_H
|
||||
#define CPPCLASSESFILTER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cpplocatorfilter.h"
|
||||
@@ -48,5 +47,3 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPCLASSESFILTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPCODEFORMATTER_H
|
||||
#define CPPCODEFORMATTER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cppcodestylesettings.h"
|
||||
@@ -288,5 +287,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPCODEFORMATTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPCODEMODELINSPECTORDUMPER_H
|
||||
#define CPPCODEMODELINSPECTORDUMPER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -88,5 +87,3 @@ private:
|
||||
|
||||
} // namespace CppCodeModelInspector
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPCODEMODELINSPECTORDUMPER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_CPPCODEMODELSETTINGS_H
|
||||
#define CPPTOOLS_CPPCODEMODELSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -78,5 +77,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_CPPCODEMODELSETTINGS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_INTERNAL_CPPCODEMODELSETTINGSPAGE_H
|
||||
#define CPPTOOLS_INTERNAL_CPPCODEMODELSETTINGSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "cppcodemodelsettings.h"
|
||||
|
||||
@@ -85,5 +84,3 @@ private:
|
||||
|
||||
} // Internal namespace
|
||||
} // CppTools namespace
|
||||
|
||||
#endif // CPPTOOLS_INTERNAL_CPPCODEMODELSETTINGSPAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPCODESTYLEPREFERENCES_H
|
||||
#define CPPCODESTYLEPREFERENCES_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cppcodestylesettings.h"
|
||||
@@ -69,5 +68,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPCODESTYLEPREFERENCES_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPCODESTYLEPREFERENCESFACTORY_H
|
||||
#define CPPCODESTYLEPREFERENCESFACTORY_H
|
||||
#pragma once
|
||||
|
||||
#include <texteditor/icodestylepreferencesfactory.h>
|
||||
|
||||
@@ -46,5 +45,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPCODESTYLEPREFERENCESFACTORY_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPCODESTYLESETTINGS_H
|
||||
#define CPPCODESTYLESETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -110,5 +109,3 @@ public:
|
||||
} // namespace CppTools
|
||||
|
||||
Q_DECLARE_METATYPE(CppTools::CppCodeStyleSettings)
|
||||
|
||||
#endif // CPPCODESTYLESETTINGS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPCODESTYLESETTINGSPAGE_H
|
||||
#define CPPCODESTYLESETTINGSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cppcodestylesettings.h"
|
||||
@@ -98,5 +97,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPCODESTYLESETTINGSPAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPCOMPLETIONASSIST_H
|
||||
#define CPPCOMPLETIONASSIST_H
|
||||
#pragma once
|
||||
|
||||
#include "builtineditordocumentparser.h"
|
||||
#include "cppcompletionassistprocessor.h"
|
||||
@@ -214,5 +213,3 @@ private:
|
||||
} // CppTools
|
||||
|
||||
Q_DECLARE_METATYPE(CPlusPlus::Symbol *)
|
||||
|
||||
#endif // CPPCOMPLETIONASSIST_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPCOMPLETIONASSISTPROCESSOR_H
|
||||
#define CPPCOMPLETIONASSISTPROCESSOR_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -54,5 +53,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPCOMPLETIONASSISTPROCESSOR_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_CPPCOMPLETIONASSISTPROVIDER_H
|
||||
#define CPPTOOLS_CPPCOMPLETIONASSISTPROVIDER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -67,5 +66,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_CPPCOMPLETIONASSISTPROVIDER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPCURRENTDOCUMENTFILTER_H
|
||||
#define CPPCURRENTDOCUMENTFILTER_H
|
||||
#pragma once
|
||||
|
||||
#include "searchsymbols.h"
|
||||
|
||||
@@ -69,5 +68,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPCURRENTDOCUMENTFILTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPDOXYGEN_H
|
||||
#define CPPDOXYGEN_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -258,5 +257,3 @@ CPPTOOLS_EXPORT int classifyDoxygenTag(const QChar *s, int n);
|
||||
CPPTOOLS_EXPORT const char *doxygenTagSpell(int index);
|
||||
|
||||
} // namespace ::CppTools
|
||||
|
||||
#endif // CPPDOXYGEN_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPEDITOROUTLINE_H
|
||||
#define CPPEDITOROUTLINE_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -90,5 +89,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPEDITOROUTLINE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef FILEITERATIONORDER_H
|
||||
#define FILEITERATIONORDER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -75,5 +74,3 @@ CPPTOOLS_EXPORT bool operator<(const FileIterationOrder::Entry &first,
|
||||
const FileIterationOrder::Entry &second);
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // FILEITERATIONORDER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPFILESETTINGSPAGE_H
|
||||
#define CPPFILESETTINGSPAGE_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/dialogs/ioptionspage.h>
|
||||
|
||||
@@ -103,5 +102,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPFILESETTINGSPAGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPFINDREFERENCES_H
|
||||
#define CPPFINDREFERENCES_H
|
||||
#pragma once
|
||||
|
||||
#include <cplusplus/FindUsages.h>
|
||||
|
||||
@@ -100,5 +99,3 @@ private:
|
||||
} // namespace CppTools
|
||||
|
||||
Q_DECLARE_METATYPE(CppTools::Internal::CppFindReferencesParameters)
|
||||
|
||||
#endif // CPPFINDREFERENCES_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPFUNCTIONSFILTER_H
|
||||
#define CPPFUNCTIONSFILTER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpplocatordata.h"
|
||||
#include "cpplocatorfilter.h"
|
||||
@@ -48,5 +47,3 @@ protected:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPFUNCTIONSFILTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPINCLUDESFILTER_H
|
||||
#define CPPINCLUDESFILTER_H
|
||||
#pragma once
|
||||
|
||||
#include <coreplugin/locator/basefilefilter.h>
|
||||
|
||||
@@ -52,5 +51,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPINCLUDESFILTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_CPPINDEXINGSUPPORT_H
|
||||
#define CPPTOOLS_CPPINDEXINGSUPPORT_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -90,5 +89,3 @@ public:
|
||||
Q_DECLARE_METATYPE(CppTools::SymbolSearcher::SearchScope)
|
||||
Q_DECLARE_METATYPE(CppTools::SymbolSearcher::Parameters)
|
||||
Q_DECLARE_METATYPE(CppTools::SymbolSearcher::SymbolTypes)
|
||||
|
||||
#endif // CPPTOOLS_CPPINDEXINGSUPPORT_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPLOCALSYMBOLS_H
|
||||
#define CPPLOCALSYMBOLS_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cppsemanticinfo.h"
|
||||
@@ -42,5 +41,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPLOCALSYMBOLS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPLOCATORDATA_H
|
||||
#define CPPLOCATORDATA_H
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <QHash>
|
||||
@@ -84,5 +83,3 @@ private:
|
||||
};
|
||||
|
||||
} // CppTools namespace
|
||||
|
||||
#endif // CPPLOCATORDATA_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPLOCATORFILTER_H
|
||||
#define CPPLOCATORFILTER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpplocatordata.h"
|
||||
#include "searchsymbols.h"
|
||||
@@ -57,5 +56,3 @@ protected:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPLOCATORFILTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPMODELMANAGER_H
|
||||
#define CPPMODELMANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -225,5 +224,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPMODELMANAGER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_CPPMODELMANAGERSUPPORT_H
|
||||
#define CPPTOOLS_CPPMODELMANAGERSUPPORT_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -63,5 +62,3 @@ public:
|
||||
};
|
||||
|
||||
} // CppTools namespace
|
||||
|
||||
#endif // CPPTOOLS_CPPMODELMANAGERSUPPORT_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_INTERNAL_CPPMODELMANAGERSUPPORTINTERNAL_H
|
||||
#define CPPTOOLS_INTERNAL_CPPMODELMANAGERSUPPORTINTERNAL_H
|
||||
#pragma once
|
||||
|
||||
#include "cppmodelmanagersupport.h"
|
||||
|
||||
@@ -60,5 +59,3 @@ public:
|
||||
|
||||
} // Internal namespace
|
||||
} // CppTools namespace
|
||||
|
||||
#endif // CPPTOOLS_INTERNAL_CPPMODELMANAGERSUPPORTINTERNAL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPPOINTERDECLARATIONFORMATTER_H
|
||||
#define CPPPOINTERDECLARATIONFORMATTER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cpprefactoringchanges.h"
|
||||
@@ -120,5 +119,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPPOINTERDECLARATIONFORMATTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_CPPPROJECTFILE_H
|
||||
#define CPPTOOLS_CPPPROJECTFILE_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -66,5 +65,3 @@ public:
|
||||
QDebug operator<<(QDebug stream, const CppTools::ProjectFile &cxxFile);
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_CPPPROJECTFILE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPQTSTYLEINDENTER_H
|
||||
#define CPPQTSTYLEINDENTER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -65,5 +64,3 @@ private:
|
||||
};
|
||||
|
||||
} // CppTools
|
||||
|
||||
#endif // CPPQTSTYLEINDENTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPREFACTORINGCHANGES_H
|
||||
#define CPPREFACTORINGCHANGES_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -98,5 +97,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPREFACTORINGCHANGES_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPSELECTIONCHANGER_H
|
||||
#define CPPSELECTIONCHANGER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -124,5 +123,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPSELECTIONCHANGER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPSEMANTICINFO_H
|
||||
#define CPPSEMANTICINFO_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -81,5 +80,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPSEMANTICINFO_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPSEMANTICINFOUPDATER_H
|
||||
#define CPPSEMANTICINFOUPDATER_H
|
||||
#pragma once
|
||||
|
||||
#include "cppsemanticinfo.h"
|
||||
|
||||
@@ -56,5 +55,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPSEMANTICINFOUPDATER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPPSOURCEPROCESSERTESTHELPER_H
|
||||
#define CPPPSOURCEPROCESSERTESTHELPER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -50,5 +49,3 @@ public:
|
||||
|
||||
} // namespace Tests
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPPSOURCEPROCESSERTESTHELPER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPSOURCEPROCESSOR_H
|
||||
#define CPPSOURCEPROCESSOR_H
|
||||
#pragma once
|
||||
|
||||
#include "cppmodelmanager.h"
|
||||
#include "cppworkingcopy.h"
|
||||
@@ -124,5 +123,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPSOURCEPROCESSOR_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_GLOBAL_H
|
||||
#define CPPTOOLS_GLOBAL_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -35,5 +34,3 @@
|
||||
#else
|
||||
# define CPPTOOLS_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#endif // CPPTOOLS_GLOBAL_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_CPPTOOLSBRIDGE_H
|
||||
#define CPPTOOLS_CPPTOOLSBRIDGE_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -58,5 +57,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_CPPTOOLSBRIDGE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLSBRIDGEINTERFACE_H
|
||||
#define CPPTOOLSBRIDGEINTERFACE_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -53,5 +52,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLSBRIDGEINTERFACE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_CPPTOOLSBRIDGEQTCREATORIMPLEMENTATION_H
|
||||
#define CPPTOOLS_CPPTOOLSBRIDGEQTCREATORIMPLEMENTATION_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptoolsbridgeinterface.h"
|
||||
|
||||
@@ -44,5 +43,3 @@ public:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_CPPTOOLSBRIDGEQTCREATORIMPLEMENTATION_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLSCONSTANTS_H
|
||||
#define CPPTOOLSCONSTANTS_H
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -70,5 +69,3 @@ const char CPP_SETTINGS_NAME[] = QT_TRANSLATE_NOOP("CppTools", "C++");
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLSCONSTANTS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLSJSEXTENSION_H
|
||||
#define CPPTOOLSJSEXTENSION_H
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
|
||||
@@ -61,5 +60,3 @@ public:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLSJSEXTENSION_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_H
|
||||
#define CPPTOOLS_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "stringtable.h"
|
||||
@@ -185,5 +184,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLSREUSE_H
|
||||
#define CPPTOOLSREUSE_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -77,5 +76,3 @@ int fileSizeLimit();
|
||||
bool skipFileDueToSizeLimit(const QFileInfo &fileInfo, int limitInMB = fileSizeLimit());
|
||||
|
||||
} // CppTools
|
||||
|
||||
#endif // CPPTOOLSREUSE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLSSETTINGS_H
|
||||
#define CPPTOOLSSETTINGS_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -71,5 +70,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLSSETTINGS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLSTESTCASE_H
|
||||
#define CPPTOOLSTESTCASE_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -186,5 +185,3 @@ public:
|
||||
|
||||
} // namespace Tests
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLSTESTCASE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPWORKINGCOPY_H
|
||||
#define CPPWORKINGCOPY_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -83,5 +82,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPWORKINGCOPY_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef DOXYGENGENERATOR_H
|
||||
#define DOXYGENGENERATOR_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -95,5 +94,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // DOXYGENGENERATOR_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef EDITORDOCUMENTHANDLE_H
|
||||
#define EDITORDOCUMENTHANDLE_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "senddocumenttracker.h"
|
||||
@@ -61,5 +60,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // EDITORDOCUMENTHANDLE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef FUNCTIONUTILS_H
|
||||
#define FUNCTIONUTILS_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -60,5 +59,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // FUNCTIONUTILS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef INCLUDEUTILS_H
|
||||
#define INCLUDEUTILS_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -108,5 +107,3 @@ private:
|
||||
|
||||
} // namespace IncludeUtils
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // INCLUDEUTILS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_INDEXITEM_H
|
||||
#define CPPTOOLS_INDEXITEM_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -133,5 +132,3 @@ private:
|
||||
} // CppTools namespace
|
||||
|
||||
Q_DECLARE_METATYPE(CppTools::IndexItem::Ptr)
|
||||
|
||||
#endif // CPPTOOLS_INDEXITEM_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef INSERTIONPOINTLOCATOR_H
|
||||
#define INSERTIONPOINTLOCATOR_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cpprefactoringchanges.h"
|
||||
@@ -103,5 +102,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // INSERTIONPOINTLOCATOR_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_INTERNAL_MODELMANAGERTESTHELPER_H
|
||||
#define CPPTOOLS_INTERNAL_MODELMANAGERTESTHELPER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cppmodelmanager.h"
|
||||
@@ -90,5 +89,3 @@ private:
|
||||
|
||||
} // namespace Tests
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_INTERNAL_MODELMANAGERTESTHELPER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_PROJECTINFO_H
|
||||
#define CPPTOOLS_PROJECTINFO_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -76,5 +75,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_PROJECTINFO_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_PROJECTPART_H
|
||||
#define CPPTOOLS_PROJECTPART_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -115,5 +114,3 @@ public: // fields
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_PROJECTPART_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_PROJECTPARTBUILDER_H
|
||||
#define CPPTOOLS_PROJECTPARTBUILDER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -78,5 +77,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_PROJECTPARTBUILDER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef PROJECTPARTHEADERPATH_H
|
||||
#define PROJECTPARTHEADERPATH_H
|
||||
#pragma once
|
||||
|
||||
#include <QVector>
|
||||
|
||||
@@ -79,4 +78,3 @@ inline uint qHash(const ProjectPartHeaderPath &key, uint seed = 0)
|
||||
return ((qHash(key.path) << 2) | key.type) ^ seed;
|
||||
}
|
||||
} // namespace CppTools
|
||||
#endif // PROJECTPARTHEADERPATH_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SEARCHSYMBOLS_H
|
||||
#define SEARCHSYMBOLS_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
#include "cppindexingsupport.h"
|
||||
@@ -116,5 +115,3 @@ private:
|
||||
} // namespace CppTools
|
||||
|
||||
Q_DECLARE_OPERATORS_FOR_FLAGS(CppTools::SearchSymbols::SymbolTypes)
|
||||
|
||||
#endif // SEARCHSYMBOLS_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SEMANTICHIGHLIGHTER_H
|
||||
#define SEMANTICHIGHLIGHTER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -92,5 +91,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // SEMANTICHIGHLIGHTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_SENDDOCUMENTTRACKER_H
|
||||
#define CPPTOOLS_SENDDOCUMENTTRACKER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -57,5 +56,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // CPPTOOLS_SENDDOCUMENTTRACKER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef STRINGTABLE_H
|
||||
#define STRINGTABLE_H
|
||||
#pragma once
|
||||
|
||||
#include <QAtomicInt>
|
||||
#include <QMutex>
|
||||
@@ -69,5 +68,3 @@ private:
|
||||
|
||||
} // Internal namespace
|
||||
} // CppTools namespace
|
||||
|
||||
#endif // STRINGTABLE_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SYMBOLFINDER_H
|
||||
#define SYMBOLFINDER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -84,6 +83,3 @@ private:
|
||||
};
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
#endif // SYMBOLFINDER_H
|
||||
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef SYMBOLSFINDFILTER_H
|
||||
#define SYMBOLSFINDFILTER_H
|
||||
#pragma once
|
||||
|
||||
#include "searchsymbols.h"
|
||||
|
||||
@@ -123,5 +122,3 @@ private:
|
||||
|
||||
} // Internal
|
||||
} // CppTools
|
||||
|
||||
#endif // SYMBOLSFINDFILTER_H
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CPPTOOLS_TYPEHIERARCHYBUILDER_H
|
||||
#define CPPTOOLS_TYPEHIERARCHYBUILDER_H
|
||||
#pragma once
|
||||
|
||||
#include "cpptools_global.h"
|
||||
|
||||
@@ -77,5 +76,3 @@ private:
|
||||
};
|
||||
|
||||
} // CppTools
|
||||
|
||||
#endif // CPPTOOLS_TYPEHIERARCHYBUILDER_H
|
||||
|
||||
Reference in New Issue
Block a user