Skip to content

Commit

Permalink
Small fix due to buildbot failures on mingw32. Fixed call of parent c…
Browse files Browse the repository at this point in the history
…onstructor for case when parent is template.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157881 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
kaomoneus committed Jun 2, 2012
1 parent 4319a55 commit e2c5318
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/llvm/Support/IntegersSubset.h
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,9 @@ class IntegersSubsetGeneric {
/// IntegersSubset - currently is extension of IntegersSubsetGeneric
/// that also supports conversion to/from Constant* object.
class IntegersSubset : public IntegersSubsetGeneric<IntItem> {

typedef IntegersSubsetGeneric<IntItem> ParentTy;

Constant *Holder;

static unsigned getNumItemsFromConstant(Constant *C) {
Expand Down Expand Up @@ -424,7 +427,7 @@ class IntegersSubset : public IntegersSubsetGeneric<IntItem> {

public:

IntegersSubset(Constant *C) : IntegersSubsetGeneric(rangesFromConstant(C)),
IntegersSubset(Constant *C) : ParentTy(rangesFromConstant(C)),
Holder(C) {}

// implicit
Expand Down

0 comments on commit e2c5318

Please sign in to comment.