[cfe-commits] r80468 - /cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
Eli Friedman
eli.friedman at gmail.com
Sat Aug 29 17:53:54 PDT 2009
Author: efriedma
Date: Sat Aug 29 19:53:54 2009
New Revision: 80468
URL: http://llvm.org/viewvc/llvm-project?rev=80468&view=rev
Log:
Unbreak tests. I'll look into why this is necessary later.
Modified:
cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp?rev=80468&r1=80467&r2=80468&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp Sat Aug 29 19:53:54 2009
@@ -1137,6 +1137,7 @@
QualType BaseType(Init->getBaseClass(), 0);
BaseType = SubstType(BaseType, TemplateArgs, Init->getSourceLocation(),
New->getDeclName());
+ BaseType = Context.getCanonicalType(BaseType);
NewInit = BuildBaseInitializer(BaseType,
(Expr **)NewArgs.data(),
More information about the cfe-commits
mailing list