diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-03-24 15:26:43 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-03-24 15:26:43 +0000 |
commit | e6d29c9928077ae9a8fe78e0f0091f577568f541 (patch) | |
tree | 58372e3d0be023dc19d10c29105206931633d7f2 /llvm/lib/Support/Error.cpp | |
parent | e1c42ac12b29462944af83719c92fa5546da6a90 (diff) | |
download | llvm-e6d29c9928077ae9a8fe78e0f0091f577568f541.zip llvm-e6d29c9928077ae9a8fe78e0f0091f577568f541.tar.gz llvm-e6d29c9928077ae9a8fe78e0f0091f577568f541.tar.bz2 |
Define ErrorInfo::ID explicitly.
llvm-svn: 264293
Diffstat (limited to 'llvm/lib/Support/Error.cpp')
-rw-r--r-- | llvm/lib/Support/Error.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Support/Error.cpp b/llvm/lib/Support/Error.cpp index ebf4d65..5bda6aa 100644 --- a/llvm/lib/Support/Error.cpp +++ b/llvm/lib/Support/Error.cpp @@ -37,6 +37,9 @@ namespace { void ErrorInfoBase::anchor() {} char ErrorInfoBase::ID = 0; +template <> char ErrorInfo<ErrorList>::ID = 0; +template <> char ErrorInfo<ECError>::ID = 0; + static ManagedStatic<ErrorErrorCategory> ErrorErrorCat; std::error_code ErrorList::convertToErrorCode() const { |