Unbreak tests. I'll look into why this is necessary later.

llvm-svn: 80468
This commit is contained in:
Eli Friedman 2009-08-30 00:53:54 +00:00
parent dc09af3ef5
commit 744a249493
1 changed files with 1 additions and 0 deletions

View File

@ -1137,6 +1137,7 @@ Sema::InstantiateMemInitializers(CXXConstructorDecl *New,
QualType BaseType(Init->getBaseClass(), 0);
BaseType = SubstType(BaseType, TemplateArgs, Init->getSourceLocation(),
New->getDeclName());
BaseType = Context.getCanonicalType(BaseType);
NewInit = BuildBaseInitializer(BaseType,
(Expr **)NewArgs.data(),