summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-03-24 15:26:43 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-03-24 15:26:43 +0000
commite6d29c9928077ae9a8fe78e0f0091f577568f541 (patch)
tree58372e3d0be023dc19d10c29105206931633d7f2 /llvm/lib
parente1c42ac12b29462944af83719c92fa5546da6a90 (diff)
downloadbcm5719-llvm-e6d29c9928077ae9a8fe78e0f0091f577568f541.tar.gz
bcm5719-llvm-e6d29c9928077ae9a8fe78e0f0091f577568f541.zip
Define ErrorInfo::ID explicitly.
llvm-svn: 264293
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Support/Error.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Support/Error.cpp b/llvm/lib/Support/Error.cpp
index ebf4d65f20a..5bda6aae690 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 {
OpenPOWER on IntegriCloud