Fixed #5007 (Same include guard naming)

This commit is contained in:
Ettl Martin 2013-09-04 20:59:49 +02:00 committed by Daniel Marjamäki
parent 43b40b7465
commit 9ab6655d85
41 changed files with 120 additions and 107 deletions

View File

@ -16,8 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//---------------------------------------------------------------------------
#ifndef checkH #ifndef checkH
#define checkH #define checkH
//---------------------------------------------------------------------------
#include "config.h" #include "config.h"
#include "token.h" #include "token.h"
@ -154,5 +156,5 @@ inline Check::Check(const std::string &aname)
} }
/// @} /// @}
//---------------------------------------------------------------------------
#endif #endif // checkH

View File

@ -87,4 +87,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // check64bitH

View File

@ -18,8 +18,8 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckAssertH #ifndef checkassertH
#define CheckAssertH #define checkassertH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -73,4 +73,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkassertH

View File

@ -106,4 +106,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkassignifH

View File

@ -18,8 +18,8 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckAutoVariablesH #ifndef checkautovariablesH
#define CheckAutoVariablesH #define checkautovariablesH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -113,4 +113,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkautovariablesH

View File

@ -18,8 +18,8 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckBoolH #ifndef checkboolH
#define CheckBoolH #define checkboolH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -131,4 +131,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkboolH

View File

@ -18,8 +18,8 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CHECKBOOST_H #ifndef checkboostH
#define CHECKBOOST_H #define checkboostH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -75,4 +75,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkboostH

View File

@ -18,8 +18,8 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckBufferOverrunH #ifndef checkbufferoverrunH
#define CheckBufferOverrunH #define checkbufferoverrunH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -268,4 +268,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkbufferoverrunH

View File

@ -17,8 +17,8 @@
*/ */
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckClassH #ifndef checkclassH
#define CheckClassH #define checkclassH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -292,4 +292,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkclassH

View File

@ -125,4 +125,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkexceptionsafetyH

View File

@ -18,8 +18,8 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CHECKINTERNAL_H #ifndef checkinternalH
#define CHECKINTERNAL_H #define checkinternalH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "check.h" #include "check.h"
@ -100,4 +100,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkinternalH

View File

@ -17,8 +17,8 @@
*/ */
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckIOH #ifndef checkioH
#define CheckIOH #define checkioH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "check.h" #include "check.h"
@ -161,4 +161,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkioH

View File

@ -127,4 +127,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkleakautovarH

View File

@ -16,8 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef checkmemoryleakH #ifndef checkmemoryleakH
#define checkmemoryleakH #define checkmemoryleakH
@ -470,4 +468,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkmemoryleakH

View File

@ -16,10 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckNonReentrantFunctionsH #ifndef checknonreentrantfunctionsH
#define CheckNonReentrantFunctionsH #define checknonreentrantfunctionsH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -107,4 +106,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checknonreentrantfunctionsH

View File

@ -167,4 +167,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checknullpointerH

View File

@ -18,8 +18,8 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckObsoleteFunctionsH #ifndef checkobsoletefunctionsH
#define CheckObsoleteFunctionsH #define checkobsoletefunctionsH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -146,4 +146,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkobsoletefunctionsH

View File

@ -18,8 +18,8 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckOtherH #ifndef checkotherH
#define CheckOtherH #define checkotherH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -467,4 +467,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkotherH

View File

@ -18,8 +18,8 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckPostfixOperatorH #ifndef checkpostfixoperatorH
#define CheckPostfixOperatorH #define checkpostfixoperatorH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -73,4 +73,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkpostfixoperatorH

View File

@ -18,8 +18,8 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckSizeofH #ifndef checksizeofH
#define CheckSizeofH #define checksizeofH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "config.h" #include "config.h"
@ -132,4 +132,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checksizeofH

View File

@ -235,4 +235,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkstlH

View File

@ -108,4 +108,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkuninitvarH

View File

@ -92,4 +92,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkunusedfunctionsH

View File

@ -16,10 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef CheckUnusedVarH #ifndef checkunusedvarH
#define CheckUnusedVarH #define checkunusedvarH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include <map> #include <map>
@ -114,4 +113,4 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // checkunusedvarH

View File

@ -1,5 +1,5 @@
#ifndef CONFIG_H #ifndef configH
#define CONFIG_H #define configH
#ifdef _WIN32 #ifdef _WIN32
# ifdef CPPCHECKLIB_EXPORT # ifdef CPPCHECKLIB_EXPORT
@ -13,4 +13,4 @@
# define CPPCHECKLIB # define CPPCHECKLIB
#endif #endif
#endif #endif // configH

View File

@ -16,8 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef CPPCHECK_H //---------------------------------------------------------------------------
#define CPPCHECK_H #ifndef cppcheckH
#define cppcheckH
//---------------------------------------------------------------------------
#include "config.h" #include "config.h"
#include "settings.h" #include "settings.h"
@ -210,5 +212,5 @@ private:
}; };
/// @} /// @}
//---------------------------------------------------------------------------
#endif // CPPCHECK_H #endif // cppcheckH

View File

@ -16,9 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//---------------------------------------------------------------------------
#ifndef errorloggerH #ifndef errorloggerH
#define errorloggerH #define errorloggerH
//---------------------------------------------------------------------------
#include <list> #include <list>
#include <string> #include <string>
@ -307,5 +308,5 @@ public:
}; };
/// @} /// @}
//---------------------------------------------------------------------------
#endif #endif // errorloggerH

View File

@ -16,8 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//---------------------------------------------------------------------------
#ifndef executionpathH #ifndef executionpathH
#define executionpathH #define executionpathH
//---------------------------------------------------------------------------
#include <list> #include <list>
#include "config.h" #include "config.h"
@ -130,5 +132,5 @@ public:
void checkExecutionPaths(const SymbolDatabase *symbolDatabase, ExecutionPath *c); void checkExecutionPaths(const SymbolDatabase *symbolDatabase, ExecutionPath *c);
//---------------------------------------------------------------------------
#endif #endif // executionpathH

View File

@ -16,8 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//---------------------------------------------------------------------------
#ifndef libraryH #ifndef libraryH
#define libraryH #define libraryH
//---------------------------------------------------------------------------
#include "config.h" #include "config.h"
#include <map> #include <map>
@ -145,5 +147,5 @@ private:
}; };
/// @} /// @}
//---------------------------------------------------------------------------
#endif // libraryH #endif // libraryH

View File

@ -16,9 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//---------------------------------------------------------------------------
#ifndef mathlibH #ifndef mathlibH
#define mathlibH #define mathlibH
//---------------------------------------------------------------------------
#include <string> #include <string>
#include <sstream> #include <sstream>
@ -72,5 +73,5 @@ public:
}; };
/// @} /// @}
//---------------------------------------------------------------------------
#endif #endif // mathlibH

View File

@ -16,8 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef PATH_H_INCLUDED //---------------------------------------------------------------------------
#define PATH_H_INCLUDED #ifndef pathH
#define pathH
//---------------------------------------------------------------------------
#include <string> #include <string>
#include <vector> #include <vector>
@ -133,5 +135,5 @@ private:
}; };
/// @} /// @}
//---------------------------------------------------------------------------
#endif // PATH_H_INCLUDED #endif // pathH

View File

@ -273,6 +273,5 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // preprocessorH

View File

@ -16,8 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//---------------------------------------------------------------------------
#ifndef settingsH #ifndef settingsH
#define settingsH #define settingsH
//---------------------------------------------------------------------------
#include <list> #include <list>
#include <vector> #include <vector>
@ -241,5 +243,5 @@ public:
}; };
/// @} /// @}
//---------------------------------------------------------------------------
#endif // SETTINGS_H #endif // settingsH

View File

@ -15,8 +15,11 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//---------------------------------------------------------------------------
#ifndef standardsH #ifndef standardsH
#define standardsH #define standardsH
//---------------------------------------------------------------------------
/// @addtogroup Core /// @addtogroup Core
/// @{ /// @{
@ -41,5 +44,5 @@ struct Standards {
}; };
/// @} /// @}
//---------------------------------------------------------------------------
#endif // standardsH #endif // standardsH

View File

@ -15,9 +15,10 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//---------------------------------------------------------------------------
#ifndef SUPPRESSIONS_H #ifndef suppressionsH
#define SUPPRESSIONS_H #define suppressionsH
//---------------------------------------------------------------------------
#include <list> #include <list>
#include <string> #include <string>
@ -142,5 +143,5 @@ public:
}; };
/// @} /// @}
//---------------------------------------------------------------------------
#endif // SUPPRESSIONS_H #endif // suppressionsH

View File

@ -17,8 +17,8 @@
*/ */
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef SymbolDatabaseH #ifndef symboldatabaseH
#define SymbolDatabaseH #define symboldatabaseH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include <string> #include <string>
@ -758,5 +758,5 @@ private:
/** list for missing types */ /** list for missing types */
std::list<Type> _blankTypes; std::list<Type> _blankTypes;
}; };
//---------------------------------------------------------------------------
#endif #endif // symboldatabaseH

View File

@ -176,6 +176,5 @@ private:
}; };
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // templatesimplifierH

View File

@ -15,9 +15,10 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//---------------------------------------------------------------------------
#ifndef TIMER_H #ifndef timerH
#define TIMER_H #define timerH
//---------------------------------------------------------------------------
#include <string> #include <string>
#include <map> #include <map>
@ -80,5 +81,5 @@ private:
const unsigned int _showtimeMode; const unsigned int _showtimeMode;
bool _stopped; bool _stopped;
}; };
//---------------------------------------------------------------------------
#endif // TIMER_H #endif // timerH

View File

@ -16,8 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef TokenH //---------------------------------------------------------------------------
#define TokenH #ifndef tokenH
#define tokenH
//---------------------------------------------------------------------------
#include <string> #include <string>
#include <vector> #include <vector>
@ -678,5 +680,5 @@ public:
}; };
/// @} /// @}
//---------------------------------------------------------------------------
#endif // TokenH #endif // tokenH

View File

@ -16,7 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef tokenizeH #ifndef tokenizeH
#define tokenizeH #define tokenizeH
@ -790,4 +789,4 @@ private:
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // tokenizeH

View File

@ -16,7 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#ifndef tokenlistH #ifndef tokenlistH
#define tokenlistH #define tokenlistH
@ -130,4 +129,4 @@ private: /// private
/// @} /// @}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#endif #endif // tokenlistH