Cppcheck
Functions
cli/main.cpp File Reference
#include "cppcheckexecutor.h"

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 Main function of cppcheck. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Main function of cppcheck.

Parameters
argcPassed to CppCheck::parseFromArgs()
argvPassed to CppCheck::parseFromArgs()
Returns
What CppCheckExecutor::check() returns.

Definition at line 78 of file cli/main.cpp.

References CppCheckExecutor::check(), error, and InternalError::errorMessage.