diff options
author | Brad King <brad.king@kitware.com> | 2017-10-27 12:30:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-27 12:36:28 (GMT) |
commit | a5197eeac7a28046729c40067ee02cd7e3e8e01b (patch) | |
tree | f8a454e728ec3def3d74711e4692b6add85b4181 /Source/cmcmd.h | |
parent | 1c075ffd60ba9354f8aaf314f0938aeb4247adc8 (diff) | |
download | CMake-a5197eeac7a28046729c40067ee02cd7e3e8e01b.zip CMake-a5197eeac7a28046729c40067ee02cd7e3e8e01b.tar.gz CMake-a5197eeac7a28046729c40067ee02cd7e3e8e01b.tar.bz2 |
cmcmd: Convert lint handlers to file-static functions
These do not need to be declared in the header.
Diffstat (limited to 'Source/cmcmd.h')
-rw-r--r-- | Source/cmcmd.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Source/cmcmd.h b/Source/cmcmd.h index 090ca08..d1e03d0 100644 --- a/Source/cmcmd.h +++ b/Source/cmcmd.h @@ -18,24 +18,6 @@ public: */ static int ExecuteCMakeCommand(std::vector<std::string>&); - // define co-compile command handlers they must be public - // because they are used in a std::function map - static int HandleIWYU(const std::string& runCmd, - const std::string& sourceFile, - const std::vector<std::string>& orig_cmd); - static int HandleTidy(const std::string& runCmd, - const std::string& sourceFile, - const std::vector<std::string>& orig_cmd); - static int HandleLWYU(const std::string& runCmd, - const std::string& sourceFile, - const std::vector<std::string>& orig_cmd); - static int HandleCppLint(const std::string& runCmd, - const std::string& sourceFile, - const std::vector<std::string>& orig_cmd); - static int HandleCppCheck(const std::string& runCmd, - const std::string& sourceFile, - const std::vector<std::string>& orig_cmd); - protected: static int HandleCoCompileCommands(std::vector<std::string>& args); static int HashSumFile(std::vector<std::string>& args, |