Attempt to fix build on Unix systems, ran AStyle.

This commit is contained in:
PKEuS 2016-07-26 16:50:32 +02:00
parent 9a6569fde1
commit eafed235a6
2 changed files with 16 additions and 15 deletions

View File

@ -288,6 +288,7 @@ unsigned int ThreadExecutor::check()
std::list<ErrorLogger::ErrorMessage::FileLocation> locations;
locations.push_back(ErrorLogger::ErrorMessage::FileLocation(childname, 0));
const ErrorLogger::ErrorMessage errmsg(locations,
emptyString,
Severity::error,
oss.str(),
"cppcheckError",

View File

@ -154,21 +154,21 @@ void CheckInternal::checkTokenSimpleMatchPatterns()
namespace {
const std::set<std::string> knownPatterns = make_container< std::set<std::string> > ()
<< "%any%"
<< "%assign%"
<< "%bool%"
<< "%char%"
<< "%comp%"
<< "%num%"
<< "%op%"
<< "%cop%"
<< "%or%"
<< "%oror%"
<< "%str%"
<< "%type%"
<< "%name%"
<< "%var%"
<< "%varid%";
<< "%any%"
<< "%assign%"
<< "%bool%"
<< "%char%"
<< "%comp%"
<< "%num%"
<< "%op%"
<< "%cop%"
<< "%or%"
<< "%oror%"
<< "%str%"
<< "%type%"
<< "%name%"
<< "%var%"
<< "%varid%";
}
void CheckInternal::checkMissingPercentCharacter()