astyle formatting

This commit is contained in:
Daniel Marjamäki 2014-01-05 22:06:11 +01:00
parent 62c608141d
commit 4620284cbf
2 changed files with 3 additions and 3 deletions

View File

@ -61,8 +61,8 @@ void CheckInternal::checkTokenMatchPatterns()
// check multicompare pattern..
for (const char *s = start; s != end; s++) {
if (*s == '|') {
if (*(s+1) == '%' &&
std::isalpha(*(s+2)) &&
if (*(s+1) == '%' &&
std::isalpha(*(s+2)) &&
std::strncmp(s+1,"%op%",4)!=0 &&
std::strncmp(s+1,"%or%",4)!=0 &&
std::strncmp(s+1,"%cop%",5)!=0 &&

View File

@ -317,7 +317,7 @@ private:
}
void invalidMultiCompare() {
// #5310
// #5310
check("void f() {\n"
" const Token *tok;\n"
" Token::Match(tok, \";|%type%\");\n"