mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-18 17:17:49 +00:00
Second part for the 153874 one
llvm-svn: 153875
This commit is contained in:
parent
77d372b45e
commit
af228a1538
@ -552,12 +552,12 @@ void Filter::emit(raw_ostream &o, unsigned &Indentation) const {
|
||||
// encoding bits do not match exactly.
|
||||
if (!DefaultCase) { ++Indentation; ++Indentation; }
|
||||
|
||||
bool finished = filterIterator->second->emit(o, Indentation);
|
||||
filterIterator->second->emit(o, Indentation);
|
||||
// For top level default case, there's no need for a break statement.
|
||||
if (Owner->isTopLevel() && DefaultCase)
|
||||
break;
|
||||
if (!finished)
|
||||
o.indent(Indentation) << "break;\n";
|
||||
|
||||
o.indent(Indentation) << "break;\n";
|
||||
|
||||
if (!DefaultCase) { --Indentation; --Indentation; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user