[flang] Follow own new style rule about returns and elses.

Original-commit: flang-compiler/f18@665fdf72d1
Reviewed-on: https://github.com/flang-compiler/f18/pull/20
This commit is contained in:
peter klausler 2018-02-28 14:55:45 -08:00
parent 65ed9e1dae
commit aa3aad34ea
1 changed files with 4 additions and 2 deletions

View File

@ -16,8 +16,9 @@ static constexpr bool IsUpperCaseLetter(char ch) {
// EBCDIC
return (ch >= 'A' && ch <= 'I') || (ch >= 'J' && ch <= 'R') ||
(ch >= 'S' && ch <= 'Z');
} else {
return ch >= 'A' && ch <= 'Z';
}
return ch >= 'A' && ch <= 'Z';
}
static constexpr bool IsLowerCaseLetter(char ch) {
@ -25,8 +26,9 @@ static constexpr bool IsLowerCaseLetter(char ch) {
// EBCDIC
return (ch >= 'a' && ch <= 'i') || (ch >= 'j' && ch <= 'r') ||
(ch >= 's' && ch <= 'z');
} else {
return ch >= 'a' && ch <= 'z';
}
return ch >= 'a' && ch <= 'z';
}
static constexpr bool IsLetter(char ch) {