[lld] r250079 - Remove break after error because error is _Noreturn.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 12 11:53:13 PDT 2015
Author: ruiu
Date: Mon Oct 12 13:53:12 2015
New Revision: 250079
URL: http://llvm.org/viewvc/llvm-project?rev=250079&view=rev
Log:
Remove break after error because error is _Noreturn.
Modified:
lld/trunk/ELF/Target.cpp
Modified: lld/trunk/ELF/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Target.cpp?rev=250079&r1=250078&r2=250079&view=diff
==============================================================================
--- lld/trunk/ELF/Target.cpp (original)
+++ lld/trunk/ELF/Target.cpp Mon Oct 12 13:53:12 2015
@@ -83,7 +83,6 @@ void X86TargetInfo::relocateOne(uint8_t
break;
default:
error("unrecognized reloc " + Twine(Type));
- break;
}
}
@@ -194,7 +193,6 @@ void X86_64TargetInfo::relocateOne(uint8
}
default:
error("unrecognized reloc " + Twine(Type));
- break;
}
}
@@ -229,7 +227,6 @@ void PPC64TargetInfo::relocateOne(uint8_
break;
default:
error("unrecognized reloc " + Twine(Type));
- break;
}
}
@@ -341,7 +338,6 @@ void AArch64TargetInfo::relocateOne(uint
}
default:
error("unrecognized reloc " + Twine(Type));
- break;
}
}
@@ -374,7 +370,6 @@ void MipsTargetInfo::relocateOne(uint8_t
break;
default:
error("unrecognized reloc " + Twine(Type));
- break;
}
}
}
More information about the llvm-commits
mailing list