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
This commit is contained in:
Reid Kleckner
2016-10-19 23:52:38 +00:00
parent 89f3090d35
commit 990504e625
19 changed files with 26 additions and 33 deletions

View File

@@ -28,7 +28,7 @@ namespace {
// deal with the Error value directly, rather than converting to error_code.
class ErrorErrorCategory : public std::error_category {
public:
const char *name() const LLVM_NOEXCEPT override { return "Error"; }
const char *name() const noexcept override { return "Error"; }
std::string message(int condition) const override {
switch (static_cast<ErrorErrorCode>(condition)) {