summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-03-24 21:17:50 +0000
committerLang Hames <lhames@gmail.com>2016-03-24 21:17:50 +0000
commit699d96535d26fd0ad5effff54634c02f89dca68c (patch)
tree9fadf8d540f7667c113b0011dd8271902ecf8507
parentb979d51afae8d9684e29884b8d12080399e0bbfa (diff)
downloadbcm5719-llvm-699d96535d26fd0ad5effff54634c02f89dca68c.tar.gz
bcm5719-llvm-699d96535d26fd0ad5effff54634c02f89dca68c.zip
[Support] Add ErrorInfo::ID static member definition.
Somehow this got dropped in an earlier patch. llvm-svn: 264341
-rw-r--r--llvm/include/llvm/Support/Error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/Error.h b/llvm/include/llvm/Support/Error.h
index ed3d4077a65..14d7ab010b4 100644
--- 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> {
OpenPOWER on IntegriCloud