[lld] r238733 - COFF: Better noexcept specification with LLVM_NOEXCEPT
Denis Protivensky
dprotivensky at accesssoftek.com
Mon Jun 1 02:08:11 PDT 2015
Author: denis-protivensky
Date: Mon Jun 1 04:08:11 2015
New Revision: 238733
URL: http://llvm.org/viewvc/llvm-project?rev=238733&view=rev
Log:
COFF: Better noexcept specification with LLVM_NOEXCEPT
This is a follow-on to r238732
Modified:
lld/trunk/COFF/Error.h
Modified: lld/trunk/COFF/Error.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Error.h?rev=238733&r1=238732&r2=238733&view=diff
==============================================================================
--- lld/trunk/COFF/Error.h (original)
+++ lld/trunk/COFF/Error.h Mon Jun 1 04:08:11 2015
@@ -26,7 +26,7 @@ enum class LLDError {
class LLDErrorCategory : public std::error_category {
public:
- const char *name() const noexcept override { return "lld"; }
+ const char *name() const LLVM_NOEXCEPT override { return "lld"; }
std::string message(int EV) const override {
switch (static_cast<LLDError>(EV)) {
More information about the llvm-commits
mailing list