projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b979d51
)
[Support] Add ErrorInfo::ID static member definition.
author
Lang Hames
<lhames@gmail.com>
Thu, 24 Mar 2016 21:17:50 +0000
(21:17 +0000)
committer
Lang Hames
<lhames@gmail.com>
Thu, 24 Mar 2016 21:17:50 +0000
(21:17 +0000)
Somehow this got dropped in an earlier patch.
llvm-svn: 264341
llvm/include/llvm/Support/Error.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Support/Error.h
b/llvm/include/llvm/Support/Error.h
index
ed3d407
..
14d7ab0
100644
(file)
--- a/
llvm/include/llvm/Support/Error.h
+++ b/
llvm/include/llvm/Support/Error.h
@@
-291,6
+291,9
@@
private:
static char ID;
};
+template <typename ThisErrT, typename ParentErrT>
+char ErrorInfo<ThisErrT, ParentErrT>::ID = 0;
+
/// Special ErrorInfo subclass representing a list of ErrorInfos.
/// Instances of this class are constructed by joinError.
class ErrorList final : public ErrorInfo<ErrorList> {