summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-10-19 23:52:38 +0000
committerReid Kleckner <rnk@google.com>2016-10-19 23:52:38 +0000
commit990504e625a3bf3f3276576f42e07dfdf9f74c4c (patch)
treeae5a1f4702dee44644c1427822c80fb3b1244997 /llvm/lib/Support
parent89f3090d35ed140d5002d8786e8b124044c4bc94 (diff)
downloadbcm5719-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/Support')
-rw-r--r--llvm/lib/Support/Error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Error.cpp b/llvm/lib/Support/Error.cpp
index 28d9127777f..7436a1fd38e 100644
--- a/llvm/lib/Support/Error.cpp
+++ b/llvm/lib/Support/Error.cpp
@@ -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)) {
OpenPOWER on IntegriCloud