Mark a few functions noexcept.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210591 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-06-10 21:26:47 +00:00
parent f85ae2a8c2
commit fbb5f70186
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 {