git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256628
91177308-0d34-0410-b5e6-
96231b3b80d8
// If this is the first SuperClass, emit the switch header.
if (!EmittedSwitch) {
- OS << " switch (A) {\n"
+ OS << " switch (A) {\n";
OS << " default:\n";
OS << " return false;\n";
EmittedSwitch = true;
OS << "\n case " << A.Name << ":\n";
if (SuperClasses.size() == 1) {
- OS << " return B == " << SuperClasses.back().str() << ";\n";
+ OS << " return B == " << SuperClasses.back() << ";\n";
continue;
}