mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 14:47:00 +00:00
Remove 'else' after 'return'. Fix formatting of a 'switch' statement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222955 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b087448a5f
commit
355d06974a
@ -2330,9 +2330,8 @@ bool TGParser::ParseMultiClass() {
|
|||||||
if (Lex.getCode() != tgtok::l_brace) {
|
if (Lex.getCode() != tgtok::l_brace) {
|
||||||
if (!inherits)
|
if (!inherits)
|
||||||
return TokError("expected '{' in multiclass definition");
|
return TokError("expected '{' in multiclass definition");
|
||||||
else if (Lex.getCode() != tgtok::semi)
|
if (Lex.getCode() != tgtok::semi)
|
||||||
return TokError("expected ';' in multiclass definition");
|
return TokError("expected ';' in multiclass definition");
|
||||||
else
|
|
||||||
Lex.Lex(); // eat the ';'.
|
Lex.Lex(); // eat the ';'.
|
||||||
} else {
|
} else {
|
||||||
if (Lex.Lex() == tgtok::r_brace) // eat the '{'.
|
if (Lex.Lex() == tgtok::r_brace) // eat the '{'.
|
||||||
|
Loading…
Reference in New Issue
Block a user