diff --git a/lib/check.h b/lib/check.h index 1edeb1cfb..942aee39c 100644 --- a/lib/check.h +++ b/lib/check.h @@ -16,8 +16,10 @@ * along with this program. If not, see . */ +//--------------------------------------------------------------------------- #ifndef checkH #define checkH +//--------------------------------------------------------------------------- #include "config.h" #include "token.h" @@ -154,5 +156,5 @@ inline Check::Check(const std::string &aname) } /// @} - -#endif +//--------------------------------------------------------------------------- +#endif // checkH diff --git a/lib/check64bit.h b/lib/check64bit.h index aac6d99cd..2d710db46 100644 --- a/lib/check64bit.h +++ b/lib/check64bit.h @@ -87,4 +87,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // check64bitH diff --git a/lib/checkassert.h b/lib/checkassert.h index a1b1e3caf..6eeb29fb5 100644 --- a/lib/checkassert.h +++ b/lib/checkassert.h @@ -18,8 +18,8 @@ //--------------------------------------------------------------------------- -#ifndef CheckAssertH -#define CheckAssertH +#ifndef checkassertH +#define checkassertH //--------------------------------------------------------------------------- #include "config.h" @@ -73,4 +73,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkassertH diff --git a/lib/checkassignif.h b/lib/checkassignif.h index a665a9291..55017b4b5 100644 --- a/lib/checkassignif.h +++ b/lib/checkassignif.h @@ -106,4 +106,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkassignifH diff --git a/lib/checkautovariables.h b/lib/checkautovariables.h index 2a110b32e..cafe97dda 100644 --- a/lib/checkautovariables.h +++ b/lib/checkautovariables.h @@ -18,8 +18,8 @@ //--------------------------------------------------------------------------- -#ifndef CheckAutoVariablesH -#define CheckAutoVariablesH +#ifndef checkautovariablesH +#define checkautovariablesH //--------------------------------------------------------------------------- #include "config.h" @@ -113,4 +113,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkautovariablesH diff --git a/lib/checkbool.h b/lib/checkbool.h index e809a615a..8e6d9eb5e 100644 --- a/lib/checkbool.h +++ b/lib/checkbool.h @@ -18,8 +18,8 @@ //--------------------------------------------------------------------------- -#ifndef CheckBoolH -#define CheckBoolH +#ifndef checkboolH +#define checkboolH //--------------------------------------------------------------------------- #include "config.h" @@ -131,4 +131,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkboolH diff --git a/lib/checkboost.h b/lib/checkboost.h index be9ab6934..f2af80b0a 100644 --- a/lib/checkboost.h +++ b/lib/checkboost.h @@ -18,8 +18,8 @@ //--------------------------------------------------------------------------- -#ifndef CHECKBOOST_H -#define CHECKBOOST_H +#ifndef checkboostH +#define checkboostH //--------------------------------------------------------------------------- #include "config.h" @@ -75,4 +75,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkboostH diff --git a/lib/checkbufferoverrun.h b/lib/checkbufferoverrun.h index ad4444c87..7fef112c9 100644 --- a/lib/checkbufferoverrun.h +++ b/lib/checkbufferoverrun.h @@ -18,8 +18,8 @@ //--------------------------------------------------------------------------- -#ifndef CheckBufferOverrunH -#define CheckBufferOverrunH +#ifndef checkbufferoverrunH +#define checkbufferoverrunH //--------------------------------------------------------------------------- #include "config.h" @@ -268,4 +268,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkbufferoverrunH diff --git a/lib/checkclass.h b/lib/checkclass.h index 4257d9d0c..85ff0f82d 100644 --- a/lib/checkclass.h +++ b/lib/checkclass.h @@ -17,8 +17,8 @@ */ //--------------------------------------------------------------------------- -#ifndef CheckClassH -#define CheckClassH +#ifndef checkclassH +#define checkclassH //--------------------------------------------------------------------------- #include "config.h" @@ -292,4 +292,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkclassH diff --git a/lib/checkexceptionsafety.h b/lib/checkexceptionsafety.h index e4680a08a..9c1409106 100644 --- a/lib/checkexceptionsafety.h +++ b/lib/checkexceptionsafety.h @@ -125,4 +125,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkexceptionsafetyH diff --git a/lib/checkinternal.h b/lib/checkinternal.h index 9319ae47d..a49336c1a 100644 --- a/lib/checkinternal.h +++ b/lib/checkinternal.h @@ -18,8 +18,8 @@ //--------------------------------------------------------------------------- -#ifndef CHECKINTERNAL_H -#define CHECKINTERNAL_H +#ifndef checkinternalH +#define checkinternalH //--------------------------------------------------------------------------- #include "check.h" @@ -100,4 +100,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkinternalH diff --git a/lib/checkio.h b/lib/checkio.h index e4f579954..9d8e889c6 100644 --- a/lib/checkio.h +++ b/lib/checkio.h @@ -17,8 +17,8 @@ */ //--------------------------------------------------------------------------- -#ifndef CheckIOH -#define CheckIOH +#ifndef checkioH +#define checkioH //--------------------------------------------------------------------------- #include "check.h" @@ -161,4 +161,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkioH diff --git a/lib/checkleakautovar.h b/lib/checkleakautovar.h index 1b43b73c5..7f035615d 100644 --- a/lib/checkleakautovar.h +++ b/lib/checkleakautovar.h @@ -127,4 +127,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkleakautovarH diff --git a/lib/checkmemoryleak.h b/lib/checkmemoryleak.h index cd3f1cf68..6054bb755 100644 --- a/lib/checkmemoryleak.h +++ b/lib/checkmemoryleak.h @@ -16,8 +16,6 @@ * along with this program. If not, see . */ - - //--------------------------------------------------------------------------- #ifndef checkmemoryleakH #define checkmemoryleakH @@ -470,4 +468,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkmemoryleakH diff --git a/lib/checknonreentrantfunctions.h b/lib/checknonreentrantfunctions.h index 63d3564de..ea1911840 100644 --- a/lib/checknonreentrantfunctions.h +++ b/lib/checknonreentrantfunctions.h @@ -16,10 +16,9 @@ * along with this program. If not, see . */ - //--------------------------------------------------------------------------- -#ifndef CheckNonReentrantFunctionsH -#define CheckNonReentrantFunctionsH +#ifndef checknonreentrantfunctionsH +#define checknonreentrantfunctionsH //--------------------------------------------------------------------------- #include "config.h" @@ -107,4 +106,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checknonreentrantfunctionsH diff --git a/lib/checknullpointer.h b/lib/checknullpointer.h index a84734408..905952da7 100644 --- a/lib/checknullpointer.h +++ b/lib/checknullpointer.h @@ -167,4 +167,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checknullpointerH diff --git a/lib/checkobsoletefunctions.h b/lib/checkobsoletefunctions.h index 7caccb4aa..58e2baae4 100644 --- a/lib/checkobsoletefunctions.h +++ b/lib/checkobsoletefunctions.h @@ -18,8 +18,8 @@ //--------------------------------------------------------------------------- -#ifndef CheckObsoleteFunctionsH -#define CheckObsoleteFunctionsH +#ifndef checkobsoletefunctionsH +#define checkobsoletefunctionsH //--------------------------------------------------------------------------- #include "config.h" @@ -146,4 +146,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkobsoletefunctionsH diff --git a/lib/checkother.h b/lib/checkother.h index 2bb6c7e10..4fd9d579b 100644 --- a/lib/checkother.h +++ b/lib/checkother.h @@ -18,8 +18,8 @@ //--------------------------------------------------------------------------- -#ifndef CheckOtherH -#define CheckOtherH +#ifndef checkotherH +#define checkotherH //--------------------------------------------------------------------------- #include "config.h" @@ -467,4 +467,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkotherH diff --git a/lib/checkpostfixoperator.h b/lib/checkpostfixoperator.h index d573c0c7d..ce3055513 100644 --- a/lib/checkpostfixoperator.h +++ b/lib/checkpostfixoperator.h @@ -18,8 +18,8 @@ //--------------------------------------------------------------------------- -#ifndef CheckPostfixOperatorH -#define CheckPostfixOperatorH +#ifndef checkpostfixoperatorH +#define checkpostfixoperatorH //--------------------------------------------------------------------------- #include "config.h" @@ -73,4 +73,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkpostfixoperatorH diff --git a/lib/checksizeof.h b/lib/checksizeof.h index 749d829d8..e7dc8b622 100644 --- a/lib/checksizeof.h +++ b/lib/checksizeof.h @@ -18,8 +18,8 @@ //--------------------------------------------------------------------------- -#ifndef CheckSizeofH -#define CheckSizeofH +#ifndef checksizeofH +#define checksizeofH //--------------------------------------------------------------------------- #include "config.h" @@ -132,4 +132,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checksizeofH diff --git a/lib/checkstl.h b/lib/checkstl.h index 14e86628f..af9577354 100644 --- a/lib/checkstl.h +++ b/lib/checkstl.h @@ -235,4 +235,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkstlH diff --git a/lib/checkuninitvar.h b/lib/checkuninitvar.h index 3889a5aa8..0fee8a708 100644 --- a/lib/checkuninitvar.h +++ b/lib/checkuninitvar.h @@ -108,4 +108,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkuninitvarH diff --git a/lib/checkunusedfunctions.h b/lib/checkunusedfunctions.h index 79f7a1c6b..d9b95297b 100644 --- a/lib/checkunusedfunctions.h +++ b/lib/checkunusedfunctions.h @@ -92,4 +92,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkunusedfunctionsH diff --git a/lib/checkunusedvar.h b/lib/checkunusedvar.h index 8c5593288..4db559a7a 100644 --- a/lib/checkunusedvar.h +++ b/lib/checkunusedvar.h @@ -16,10 +16,9 @@ * along with this program. If not, see . */ - //--------------------------------------------------------------------------- -#ifndef CheckUnusedVarH -#define CheckUnusedVarH +#ifndef checkunusedvarH +#define checkunusedvarH //--------------------------------------------------------------------------- #include @@ -114,4 +113,4 @@ private: }; /// @} //--------------------------------------------------------------------------- -#endif +#endif // checkunusedvarH diff --git a/lib/config.h b/lib/config.h index 430f19b5f..130164d5e 100644 --- a/lib/config.h +++ b/lib/config.h @@ -1,5 +1,5 @@ -#ifndef CONFIG_H -#define CONFIG_H +#ifndef configH +#define configH #ifdef _WIN32 # ifdef CPPCHECKLIB_EXPORT @@ -13,4 +13,4 @@ # define CPPCHECKLIB #endif -#endif +#endif // configH diff --git a/lib/cppcheck.h b/lib/cppcheck.h index bccd7a10c..2d86d9db9 100644 --- a/lib/cppcheck.h +++ b/lib/cppcheck.h @@ -16,8 +16,10 @@ * along with this program. If not, see . */ -#ifndef CPPCHECK_H -#define CPPCHECK_H +//--------------------------------------------------------------------------- +#ifndef cppcheckH +#define cppcheckH +//--------------------------------------------------------------------------- #include "config.h" #include "settings.h" @@ -210,5 +212,5 @@ private: }; /// @} - -#endif // CPPCHECK_H +//--------------------------------------------------------------------------- +#endif // cppcheckH diff --git a/lib/errorlogger.h b/lib/errorlogger.h index bd992a9d7..17e8ecbc1 100644 --- a/lib/errorlogger.h +++ b/lib/errorlogger.h @@ -16,9 +16,10 @@ * along with this program. If not, see . */ - +//--------------------------------------------------------------------------- #ifndef errorloggerH #define errorloggerH +//--------------------------------------------------------------------------- #include #include @@ -307,5 +308,5 @@ public: }; /// @} - -#endif +//--------------------------------------------------------------------------- +#endif // errorloggerH diff --git a/lib/executionpath.h b/lib/executionpath.h index 781cacb4d..d6f962886 100644 --- a/lib/executionpath.h +++ b/lib/executionpath.h @@ -16,8 +16,10 @@ * along with this program. If not, see . */ +//--------------------------------------------------------------------------- #ifndef executionpathH #define executionpathH +//--------------------------------------------------------------------------- #include #include "config.h" @@ -130,5 +132,5 @@ public: void checkExecutionPaths(const SymbolDatabase *symbolDatabase, ExecutionPath *c); - -#endif +//--------------------------------------------------------------------------- +#endif // executionpathH diff --git a/lib/library.h b/lib/library.h index b822c5d25..548662bb4 100644 --- a/lib/library.h +++ b/lib/library.h @@ -16,8 +16,10 @@ * along with this program. If not, see . */ +//--------------------------------------------------------------------------- #ifndef libraryH #define libraryH +//--------------------------------------------------------------------------- #include "config.h" #include @@ -145,5 +147,5 @@ private: }; /// @} - +//--------------------------------------------------------------------------- #endif // libraryH diff --git a/lib/mathlib.h b/lib/mathlib.h index 4da39f542..117d17843 100644 --- a/lib/mathlib.h +++ b/lib/mathlib.h @@ -16,9 +16,10 @@ * along with this program. If not, see . */ - +//--------------------------------------------------------------------------- #ifndef mathlibH #define mathlibH +//--------------------------------------------------------------------------- #include #include @@ -72,5 +73,5 @@ public: }; /// @} - -#endif +//--------------------------------------------------------------------------- +#endif // mathlibH diff --git a/lib/path.h b/lib/path.h index 7d0d48c78..23feb8d08 100644 --- a/lib/path.h +++ b/lib/path.h @@ -15,9 +15,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - -#ifndef PATH_H_INCLUDED -#define PATH_H_INCLUDED + +//--------------------------------------------------------------------------- +#ifndef pathH +#define pathH +//--------------------------------------------------------------------------- #include #include @@ -133,5 +135,5 @@ private: }; /// @} - -#endif // PATH_H_INCLUDED +//--------------------------------------------------------------------------- +#endif // pathH diff --git a/lib/preprocessor.h b/lib/preprocessor.h index 4e30641aa..b17137f5a 100644 --- a/lib/preprocessor.h +++ b/lib/preprocessor.h @@ -273,6 +273,5 @@ private: }; /// @} - //--------------------------------------------------------------------------- -#endif +#endif // preprocessorH diff --git a/lib/settings.h b/lib/settings.h index db0a7e98f..b6a7efc2b 100644 --- a/lib/settings.h +++ b/lib/settings.h @@ -16,8 +16,10 @@ * along with this program. If not, see . */ +//--------------------------------------------------------------------------- #ifndef settingsH #define settingsH +//--------------------------------------------------------------------------- #include #include @@ -241,5 +243,5 @@ public: }; /// @} - -#endif // SETTINGS_H +//--------------------------------------------------------------------------- +#endif // settingsH diff --git a/lib/standards.h b/lib/standards.h index c99c84c00..ee34b120d 100644 --- a/lib/standards.h +++ b/lib/standards.h @@ -15,8 +15,11 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ + +//--------------------------------------------------------------------------- #ifndef standardsH #define standardsH +//--------------------------------------------------------------------------- /// @addtogroup Core /// @{ @@ -41,5 +44,5 @@ struct Standards { }; /// @} - +//--------------------------------------------------------------------------- #endif // standardsH diff --git a/lib/suppressions.h b/lib/suppressions.h index 5f051e681..c0f5d849f 100644 --- a/lib/suppressions.h +++ b/lib/suppressions.h @@ -15,9 +15,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - -#ifndef SUPPRESSIONS_H -#define SUPPRESSIONS_H +//--------------------------------------------------------------------------- +#ifndef suppressionsH +#define suppressionsH +//--------------------------------------------------------------------------- #include #include @@ -142,5 +143,5 @@ public: }; /// @} - -#endif // SUPPRESSIONS_H +//--------------------------------------------------------------------------- +#endif // suppressionsH diff --git a/lib/symboldatabase.h b/lib/symboldatabase.h index 4ba897213..76b010f52 100644 --- a/lib/symboldatabase.h +++ b/lib/symboldatabase.h @@ -17,8 +17,8 @@ */ //--------------------------------------------------------------------------- -#ifndef SymbolDatabaseH -#define SymbolDatabaseH +#ifndef symboldatabaseH +#define symboldatabaseH //--------------------------------------------------------------------------- #include @@ -758,5 +758,5 @@ private: /** list for missing types */ std::list _blankTypes; }; - -#endif +//--------------------------------------------------------------------------- +#endif // symboldatabaseH diff --git a/lib/templatesimplifier.h b/lib/templatesimplifier.h index 22d6b4a7f..b2129a338 100644 --- a/lib/templatesimplifier.h +++ b/lib/templatesimplifier.h @@ -176,6 +176,5 @@ private: }; /// @} - //--------------------------------------------------------------------------- -#endif +#endif // templatesimplifierH diff --git a/lib/timer.h b/lib/timer.h index eb4f40234..38a782b7d 100644 --- a/lib/timer.h +++ b/lib/timer.h @@ -15,9 +15,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - -#ifndef TIMER_H -#define TIMER_H +//--------------------------------------------------------------------------- +#ifndef timerH +#define timerH +//--------------------------------------------------------------------------- #include #include @@ -80,5 +81,5 @@ private: const unsigned int _showtimeMode; bool _stopped; }; - -#endif // TIMER_H +//--------------------------------------------------------------------------- +#endif // timerH diff --git a/lib/token.h b/lib/token.h index 8b78823bf..4f913868f 100644 --- a/lib/token.h +++ b/lib/token.h @@ -16,8 +16,10 @@ * along with this program. If not, see . */ -#ifndef TokenH -#define TokenH +//--------------------------------------------------------------------------- +#ifndef tokenH +#define tokenH +//--------------------------------------------------------------------------- #include #include @@ -678,5 +680,5 @@ public: }; /// @} - -#endif // TokenH +//--------------------------------------------------------------------------- +#endif // tokenH diff --git a/lib/tokenize.h b/lib/tokenize.h index c52850cfa..43b4dee49 100644 --- a/lib/tokenize.h +++ b/lib/tokenize.h @@ -16,7 +16,6 @@ * along with this program. If not, see . */ - //--------------------------------------------------------------------------- #ifndef tokenizeH #define tokenizeH @@ -790,4 +789,4 @@ private: /// @} //--------------------------------------------------------------------------- -#endif +#endif // tokenizeH diff --git a/lib/tokenlist.h b/lib/tokenlist.h index a442fda2d..022435ee4 100644 --- a/lib/tokenlist.h +++ b/lib/tokenlist.h @@ -16,7 +16,6 @@ * along with this program. If not, see . */ - //--------------------------------------------------------------------------- #ifndef tokenlistH #define tokenlistH @@ -130,4 +129,4 @@ private: /// private /// @} //--------------------------------------------------------------------------- -#endif +#endif // tokenlistH