Small fix due to buildbot failures on mingw32. Fixed call of parent constructor for case when parent is template.

llvm-svn: 157881
This commit is contained in:
Stepan Dyatkovskiy 2012-06-02 07:44:19 +00:00
parent 9549f5894b
commit f49b393c04
1 changed files with 4 additions and 1 deletions

View File

@ -386,6 +386,9 @@ public:
/// 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) {
@ -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