Fix indentation. No functional change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179994 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2013-04-22 04:24:02 +00:00
parent efa703dace
commit 955d1e984c

View File

@ -3615,13 +3615,13 @@ bool AsmParser::ParseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
bool AsmParser::ParseDirectiveElseIf(SMLoc DirectiveLoc) { bool AsmParser::ParseDirectiveElseIf(SMLoc DirectiveLoc) {
if (TheCondState.TheCond != AsmCond::IfCond && if (TheCondState.TheCond != AsmCond::IfCond &&
TheCondState.TheCond != AsmCond::ElseIfCond) TheCondState.TheCond != AsmCond::ElseIfCond)
Error(DirectiveLoc, "Encountered a .elseif that doesn't follow a .if or " Error(DirectiveLoc, "Encountered a .elseif that doesn't follow a .if or "
" an .elseif"); " an .elseif");
TheCondState.TheCond = AsmCond::ElseIfCond; TheCondState.TheCond = AsmCond::ElseIfCond;
bool LastIgnoreState = false; bool LastIgnoreState = false;
if (!TheCondStack.empty()) if (!TheCondStack.empty())
LastIgnoreState = TheCondStack.back().Ignore; LastIgnoreState = TheCondStack.back().Ignore;
if (LastIgnoreState || TheCondState.CondMet) { if (LastIgnoreState || TheCondState.CondMet) {
TheCondState.Ignore = true; TheCondState.Ignore = true;
eatToEndOfStatement(); eatToEndOfStatement();
@ -3651,8 +3651,8 @@ bool AsmParser::ParseDirectiveElse(SMLoc DirectiveLoc) {
if (TheCondState.TheCond != AsmCond::IfCond && if (TheCondState.TheCond != AsmCond::IfCond &&
TheCondState.TheCond != AsmCond::ElseIfCond) TheCondState.TheCond != AsmCond::ElseIfCond)
Error(DirectiveLoc, "Encountered a .else that doesn't follow a .if or an " Error(DirectiveLoc, "Encountered a .else that doesn't follow a .if or an "
".elseif"); ".elseif");
TheCondState.TheCond = AsmCond::ElseCond; TheCondState.TheCond = AsmCond::ElseCond;
bool LastIgnoreState = false; bool LastIgnoreState = false;
if (!TheCondStack.empty()) if (!TheCondStack.empty())