Removed Cppcheck::terminate()
This commit is contained in:
parent
649a754cfd
commit
aa28f3fe8c
|
@ -61,7 +61,7 @@ public:
|
|||
const std::size_t value) override {
|
||||
if (std::time(nullptr) >= stoptime) {
|
||||
std::cout << "Time to analyse the code exceeded 2 seconds. Terminating.\n\n";
|
||||
cppcheck.terminate();
|
||||
Settings::terminate();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -301,7 +301,7 @@ void CheckThread::runAddonsAndTools(const ImportProject::FileSettings *fileSetti
|
|||
void CheckThread::stop()
|
||||
{
|
||||
mState = Stopping;
|
||||
mCppcheck.terminate();
|
||||
Settings::terminate();
|
||||
}
|
||||
|
||||
void CheckThread::parseClangErrors(const QString &tool, const QString &file0, QString err)
|
||||
|
|
|
@ -112,13 +112,6 @@ public:
|
|||
|
||||
virtual void reportStatus(unsigned int fileindex, unsigned int filecount, std::size_t sizedone, std::size_t sizetotal);
|
||||
|
||||
/**
|
||||
* @brief Terminate checking. The checking will be terminated as soon as possible.
|
||||
*/
|
||||
void terminate() {
|
||||
Settings::terminate();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Call all "getErrorMessages" in all registered Check classes.
|
||||
* Also print out XML header and footer.
|
||||
|
|
Loading…
Reference in New Issue