2008-10-30 17:46:05 +01:00
|
|
|
/*
|
2008-10-26 08:55:15 +01:00
|
|
|
* c++check - c/c++ syntax checking
|
|
|
|
* Copyright (C) 2007 Daniel Marjamäki
|
2008-04-11 08:58:45 +02:00
|
|
|
*
|
2008-10-26 08:55:15 +01:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
2008-04-11 08:58:45 +02:00
|
|
|
*
|
2008-10-26 08:55:15 +01:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2008-04-11 08:58:45 +02:00
|
|
|
*
|
2008-10-26 08:55:15 +01:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/
|
|
|
|
*/
|
2008-04-11 08:58:45 +02:00
|
|
|
|
2008-12-09 01:49:32 +01:00
|
|
|
#include "cppcheckexecutor.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Main function of cppcheck
|
|
|
|
*
|
|
|
|
* @param argc Passed to CppCheck::parseFromArgs()
|
|
|
|
* @param argv Passed to CppCheck::parseFromArgs()
|
|
|
|
* @return 0
|
2008-11-24 22:50:20 +01:00
|
|
|
*/
|
2007-05-07 19:31:35 +02:00
|
|
|
int main(int argc, char* argv[])
|
2008-12-09 01:49:32 +01:00
|
|
|
{
|
|
|
|
CppCheckExecutor exec;
|
2008-11-24 22:50:20 +01:00
|
|
|
exec.check( argc, argv );
|
2007-05-09 08:50:31 +02:00
|
|
|
return 0;
|
|
|
|
}
|