mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
Try to fix ODR violation of ErrorInfo::ID
This implements my suggestion to Lang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264360 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -36,9 +36,8 @@ namespace {
|
||||
|
||||
void ErrorInfoBase::anchor() {}
|
||||
char ErrorInfoBase::ID = 0;
|
||||
|
||||
template <> char ErrorInfo<ErrorList>::ID = 0;
|
||||
template <> char ErrorInfo<ECError>::ID = 0;
|
||||
char ErrorList::ID = 0;
|
||||
char ECError::ID = 0;
|
||||
|
||||
static ManagedStatic<ErrorErrorCategory> ErrorErrorCat;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user