Fix coding style for else statements

Change-Id: I1309db70e98d678e150388c76ce665e988fdf081
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Orgad Shaneh
2013-07-17 00:01:45 +03:00
committed by Orgad Shaneh
parent c67f7f6349
commit ad9e7ccab6
101 changed files with 331 additions and 470 deletions

View File

@@ -259,13 +259,13 @@ const char *pp_skip_argument::operator () (const char *__first, const char *__la
lines = 0;
while (__first != __last) {
if (!depth && (*__first == ')' || *__first == ','))
if (!depth && (*__first == ')' || *__first == ',')) {
break;
else if (*__first == '(')
} else if (*__first == '(') {
++depth, ++__first;
else if (*__first == ')')
} else if (*__first == ')') {
--depth, ++__first;
else if (*__first == '\"') {
} else if (*__first == '\"') {
__first = skip_string_literal (__first, __last);
lines += skip_string_literal.lines;
} else if (*__first == '\'') {
@@ -283,8 +283,9 @@ const char *pp_skip_argument::operator () (const char *__first, const char *__la
} else if (*__first == '\n') {
++__first;
++lines;
} else
} else {
++__first;
}
}
return __first;