diff options
author | Reid Kleckner <rnk@google.com> | 2016-10-19 23:52:38 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-10-19 23:52:38 +0000 |
commit | 990504e625a3bf3f3276576f42e07dfdf9f74c4c (patch) | |
tree | ae5a1f4702dee44644c1427822c80fb3b1244997 /llvm/lib/ProfileData/InstrProf.cpp | |
parent | 89f3090d35ed140d5002d8786e8b124044c4bc94 (diff) | |
download | bcm5719-llvm-990504e625a3bf3f3276576f42e07dfdf9f74c4c.tar.gz bcm5719-llvm-990504e625a3bf3f3276576f42e07dfdf9f74c4c.zip |
Remove LLVM_NOEXCEPT and replace it with noexcept
Now that we have dropped MSVC 2013, all supported compilers support
noexcept and we can drop this portability macro.
llvm-svn: 284672
Diffstat (limited to 'llvm/lib/ProfileData/InstrProf.cpp')
-rw-r--r-- | llvm/lib/ProfileData/InstrProf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ProfileData/InstrProf.cpp b/llvm/lib/ProfileData/InstrProf.cpp index b512f543e95..77c6ffc9c25 100644 --- a/llvm/lib/ProfileData/InstrProf.cpp +++ b/llvm/lib/ProfileData/InstrProf.cpp @@ -80,7 +80,7 @@ std::string getInstrProfErrString(instrprof_error Err) { // will be removed once this transition is complete. Clients should prefer to // deal with the Error value directly, rather than converting to error_code. class InstrProfErrorCategoryType : public std::error_category { - const char *name() const LLVM_NOEXCEPT override { return "llvm.instrprof"; } + const char *name() const noexcept override { return "llvm.instrprof"; } std::string message(int IE) const override { return getInstrProfErrString(static_cast<instrprof_error>(IE)); } |