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; std::list<ErrorLogger::ErrorMessage::FileLocation> locations;
locations.push_back(ErrorLogger::ErrorMessage::FileLocation(childname, 0)); locations.push_back(ErrorLogger::ErrorMessage::FileLocation(childname, 0));
const ErrorLogger::ErrorMessage errmsg(locations, const ErrorLogger::ErrorMessage errmsg(locations,
emptyString,
Severity::error, Severity::error,
oss.str(), oss.str(),
"cppcheckError", "cppcheckError",

View File

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