mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-01 01:54:21 +00:00
Second part for the 153874 one
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153875 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
50ac2e9229
commit
545b962f15
@ -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…
x
Reference in New Issue
Block a user