Mark a few functions noexcept.

This reduces the difference between std::error_code and llvm::error_code.

llvm-svn: 210591
This commit is contained in:
Rafael Espindola
2014-06-10 21:26:47 +00:00
parent 3a3532ebb9
commit f5d07fa586
7 changed files with 17 additions and 15 deletions

View File

@@ -3301,7 +3301,7 @@ error_code BitcodeReader::InitLazyStream() {
namespace {
class BitcodeErrorCategoryType : public error_category {
const char *name() const override {
const char *name() const LLVM_NOEXCEPT override {
return "llvm.bitcode";
}
std::string message(int IE) const override {