X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FSupport%2Fsystem_error.h;h=0d164f688d376a557828a5ad1c3152914f69fa64;hb=652b28dbcac156bb6a3b596bdf29aaf17e89eda5;hp=af812069b9fef0f9ab5264fd914b689749e707c4;hpb=0b66c6fca22e85f732cf58f459a06c06833d1882;p=oota-llvm.git diff --git a/include/llvm/Support/system_error.h b/include/llvm/Support/system_error.h index af812069b9f..0d164f688d3 100644 --- a/include/llvm/Support/system_error.h +++ b/include/llvm/Support/system_error.h @@ -17,6 +17,8 @@ #ifndef LLVM_SYSTEM_SYSTEM_ERROR_H #define LLVM_SYSTEM_SYSTEM_ERROR_H +#include "llvm/Support/Compiler.h" + /* system_error synopsis @@ -629,8 +631,8 @@ public: private: error_category(); - error_category(const error_category&);// = delete; - error_category& operator=(const error_category&);// = delete; + error_category(const error_category&) LLVM_DELETED_FUNCTION; + error_category& operator=(const error_category&) LLVM_DELETED_FUNCTION; public: virtual const char* name() const = 0; @@ -651,7 +653,7 @@ public: class _do_message : public error_category { public: - virtual std::string message(int ev) const; + virtual std::string message(int ev) const LLVM_OVERRIDE; }; const error_category& generic_category();