File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929
3030#include " application.h"
3131#include " checkers.h"
32+ #include " config.h"
3233#include " erroritem.h"
3334#include " errorlogger.h"
3435#include " errortypes.h"
@@ -85,13 +86,13 @@ ThreadHandler::~ThreadHandler() = default;
8586bool ThreadHandler::isChecking () const {
8687 return false ;
8788}
88- void ThreadHandler::stop () {
89+ NORETURN void ThreadHandler::stop () {
8990 throw 1 ;
9091}
91- void ThreadHandler::threadDone () {
92+ NORETURN void ThreadHandler::threadDone () {
9293 throw 1 ;
9394}
94- Application& ApplicationList::getApplication (const int /* unused*/ ) {
95+ NORETURN Application& ApplicationList::getApplication (const int /* unused*/ ) {
9596 throw 1 ;
9697}
9798const Application& ApplicationList::getApplication (const int index) const {
@@ -108,13 +109,13 @@ QString XmlReport::unquoteMessage(const QString &message) {
108109 return message;
109110}
110111XmlReport::XmlReport (const QString& filename) : Report(filename) {}
111- void ThreadResult::fileChecked (const QString & /* unused*/ ) {
112+ NORETURN void ThreadResult::fileChecked (const QString & /* unused*/ ) {
112113 throw 1 ;
113114}
114- void ThreadResult::reportOut (const std::string & /* unused*/ , Color /* unused*/ ) {
115+ NORETURN void ThreadResult::reportOut (const std::string & /* unused*/ , Color /* unused*/ ) {
115116 throw 1 ;
116117}
117- void ThreadResult::reportErr (const ErrorMessage & /* unused*/ ) {
118+ NORETURN void ThreadResult::reportErr (const ErrorMessage & /* unused*/ ) {
118119 throw 1 ;
119120}
120121
You can’t perform that action at this time.
0 commit comments