mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-08 20:30:50 +00:00
Fix indentation. No functional change.
llvm-svn: 179994
This commit is contained in:
parent
04e44a9181
commit
dcf0462f2d
@ -3615,13 +3615,13 @@ bool AsmParser::ParseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
|
||||
bool AsmParser::ParseDirectiveElseIf(SMLoc DirectiveLoc) {
|
||||
if (TheCondState.TheCond != AsmCond::IfCond &&
|
||||
TheCondState.TheCond != AsmCond::ElseIfCond)
|
||||
Error(DirectiveLoc, "Encountered a .elseif that doesn't follow a .if or "
|
||||
" an .elseif");
|
||||
Error(DirectiveLoc, "Encountered a .elseif that doesn't follow a .if or "
|
||||
" an .elseif");
|
||||
TheCondState.TheCond = AsmCond::ElseIfCond;
|
||||
|
||||
bool LastIgnoreState = false;
|
||||
if (!TheCondStack.empty())
|
||||
LastIgnoreState = TheCondStack.back().Ignore;
|
||||
LastIgnoreState = TheCondStack.back().Ignore;
|
||||
if (LastIgnoreState || TheCondState.CondMet) {
|
||||
TheCondState.Ignore = true;
|
||||
eatToEndOfStatement();
|
||||
@ -3651,8 +3651,8 @@ bool AsmParser::ParseDirectiveElse(SMLoc DirectiveLoc) {
|
||||
|
||||
if (TheCondState.TheCond != AsmCond::IfCond &&
|
||||
TheCondState.TheCond != AsmCond::ElseIfCond)
|
||||
Error(DirectiveLoc, "Encountered a .else that doesn't follow a .if or an "
|
||||
".elseif");
|
||||
Error(DirectiveLoc, "Encountered a .else that doesn't follow a .if or an "
|
||||
".elseif");
|
||||
TheCondState.TheCond = AsmCond::ElseCond;
|
||||
bool LastIgnoreState = false;
|
||||
if (!TheCondStack.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user