[cfe-commits] r106328 - /cfe/trunk/lib/Sema/TreeTransform.h
Douglas Gregor
dgregor at apple.com
Fri Jun 18 15:12:56 PDT 2010
Author: dgregor
Date: Fri Jun 18 17:12:56 2010
New Revision: 106328
URL: http://llvm.org/viewvc/llvm-project?rev=106328&view=rev
Log:
A trivial fix for a test case that's too horrible to commit. Fixes
<rdar://problem/8108088>.
Modified:
cfe/trunk/lib/Sema/TreeTransform.h
Modified: cfe/trunk/lib/Sema/TreeTransform.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/TreeTransform.h?rev=106328&r1=106327&r2=106328&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/TreeTransform.h (original)
+++ cfe/trunk/lib/Sema/TreeTransform.h Fri Jun 18 17:12:56 2010
@@ -544,6 +544,9 @@
TemplateName InstName =
getDerived().RebuildTemplateName(NNS, *Name, QualType());
+ if (InstName.isNull())
+ return QualType();
+
// If it's still dependent, make a dependent specialization.
if (InstName.getAsDependentTemplateName())
return SemaRef.Context.getDependentTemplateSpecializationType(
More information about the cfe-commits
mailing list