forked from OSchip/llvm-project
[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:
parent
65ed9e1dae
commit
aa3aad34ea
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue